Click here to Skip to main content
15,912,329 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Extract text from Ms -office documents Pin
Anonymous16-Mar-05 18:28
Anonymous16-Mar-05 18:28 
GeneralRe: Extract text from Ms -office documents Pin
mjvalan16-Mar-05 18:29
mjvalan16-Mar-05 18:29 
GeneralSnapping windows to the desktop edge Pin
Timothy Grabrian24-Jan-05 17:24
professionalTimothy Grabrian24-Jan-05 17:24 
GeneralRe: Snapping windows to the desktop edge Pin
Ryan Binns24-Jan-05 18:01
Ryan Binns24-Jan-05 18:01 
GeneralRemoving metadata from MS Office documents Pin
sps-itsec4624-Jan-05 12:38
sps-itsec4624-Jan-05 12:38 
GeneralRe: Removing metadata from MS Office documents Pin
Michael P Butler24-Jan-05 13:42
Michael P Butler24-Jan-05 13:42 
GeneralRe: Removing metadata from MS Office documents Pin
sps-itsec4624-Jan-05 23:47
sps-itsec4624-Jan-05 23:47 
Generalint to string for TextOut Pin
shilton8424-Jan-05 11:08
shilton8424-Jan-05 11:08 
Hi, sorry if this is in the wrong forum.

Im working on a project in C++ using the GDI; with WinMain and all that.

For one bit of it, im using TextOut to display some text, but I also want to display an integer that will change. So TextOut will appear as follows:

<br />
int name;<br />
<br />
TextOut(hdc,x,y,"text",strlen("text");


"text" is technically an 'address of string to print'

How do I display the contents of name using TextOut?

Before using the stringstreams method is suggested, ive already tried that and my compiler isnt having it, and changing my compiler isnt an option.
GeneralRe: int to string for TextOut Pin
Ryan Binns24-Jan-05 17:24
Ryan Binns24-Jan-05 17:24 
GeneralRe: int to string for TextOut Pin
ThatsAlok24-Jan-05 17:53
ThatsAlok24-Jan-05 17:53 
GeneralRe: int to string for TextOut Pin
toxcct24-Jan-05 21:32
toxcct24-Jan-05 21:32 
GeneralRe: int to string for TextOut Pin
ThatsAlok24-Jan-05 21:53
ThatsAlok24-Jan-05 21:53 
GeneralSystem function DOS widows problem Pin
Anonymous24-Jan-05 9:22
Anonymous24-Jan-05 9:22 
GeneralRe: System function DOS widows problem Pin
David Crow24-Jan-05 10:07
David Crow24-Jan-05 10:07 
GeneralCClientSocket Pin
rmunguia24-Jan-05 6:53
rmunguia24-Jan-05 6:53 
QuestionFUZZY Set help ? Pin
faroqtam24-Jan-05 6:38
faroqtam24-Jan-05 6:38 
AnswerRe: FUZZY Set help ? Pin
Christian Graus24-Jan-05 8:55
protectorChristian Graus24-Jan-05 8:55 
GeneralRe: FUZZY Set help ? Pin
Ryan Binns24-Jan-05 17:26
Ryan Binns24-Jan-05 17:26 
GeneralRe: FUZZY Set help ? Pin
Christian Graus24-Jan-05 17:30
protectorChristian Graus24-Jan-05 17:30 
GeneralRe: FUZZY Set help ? Pin
Ryan Binns24-Jan-05 18:05
Ryan Binns24-Jan-05 18:05 
AnswerRe: FUZZY Set help ? Pin
Andy Brummer24-Jan-05 10:44
sitebuilderAndy Brummer24-Jan-05 10:44 
GeneralMFC - Dual Interface Pin
peterchen24-Jan-05 6:13
peterchen24-Jan-05 6:13 
QuestionHow to Terminate a running App and start a new instance of the same App? Pin
nonothing24-Jan-05 5:25
nonothing24-Jan-05 5:25 
AnswerRe: How to Terminate a running App and start a new instance of the same App? Pin
ThatsAlok24-Jan-05 7:11
ThatsAlok24-Jan-05 7:11 
GeneralRe: How to Terminate a running App and start a new instance of the same App? Pin
nonothing24-Jan-05 11:32
nonothing24-Jan-05 11:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.