Click here to Skip to main content
15,887,485 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: _tcscpy_s and unused buffer part Pin
David Crow29-Sep-16 3:10
David Crow29-Sep-16 3:10 
AnswerRe: _tcscpy_s and unused buffer part Pin
Joe Woodbury24-Oct-16 14:36
professionalJoe Woodbury24-Oct-16 14:36 
QuestionArrow Key use in MFC vc++ Application Pin
rajmohan 12327-Sep-16 2:38
rajmohan 12327-Sep-16 2:38 
AnswerRe: Arrow Key use in MFC vc++ Application Pin
Chris Losinger27-Sep-16 3:26
professionalChris Losinger27-Sep-16 3:26 
GeneralRe: Arrow Key use in MFC vc++ Application Pin
rajmohan 12327-Sep-16 20:05
rajmohan 12327-Sep-16 20:05 
QuestionHow do you get type from format? Pin
Vaclav_26-Sep-16 5:03
Vaclav_26-Sep-16 5:03 
AnswerRe: How do you get type from format? Pin
Richard MacCutchan26-Sep-16 5:18
mveRichard MacCutchan26-Sep-16 5:18 
GeneralRe: How do you get type from format? Pin
Vaclav_26-Sep-16 6:12
Vaclav_26-Sep-16 6:12 
My feeling exactly.
I this whoever posted the code missed something.

Here is their sample use of the function.

int main( void ) {

my_printf( "sdc", "This is a string", 29, 'X' );

return( 0 );
}

This code displays the following output when run:

Printing a string: This is a string
Printing an integer: 29
Printing a character: X

Now where is the "sdc" print?

And I thought that "format" was some kind of special feature.
I guess I ditch this, maybe I can figure out how to use templates.

Thanks
GeneralRe: How do you get type from format? Pin
Richard MacCutchan26-Sep-16 6:15
mveRichard MacCutchan26-Sep-16 6:15 
GeneralRe: How do you get type from format? Pin
leon de boer27-Sep-16 2:24
leon de boer27-Sep-16 2:24 
GeneralRe: How do you get type from format? Pin
Vaclav_2-Oct-16 5:30
Vaclav_2-Oct-16 5:30 
Questionhow to create thread on windows? Pin
Member 1118935723-Sep-16 19:49
Member 1118935723-Sep-16 19:49 
AnswerRe: how to create thread on windows? Pin
Richard MacCutchan23-Sep-16 22:46
mveRichard MacCutchan23-Sep-16 22:46 
AnswerHere's how! Pin
Software_Developer24-Sep-16 0:49
Software_Developer24-Sep-16 0:49 
GeneralRe: Here's how! Pin
Member 1118935724-Sep-16 1:16
Member 1118935724-Sep-16 1:16 
GeneralRe: Here's how! Pin
Richard MacCutchan24-Sep-16 3:46
mveRichard MacCutchan24-Sep-16 3:46 
GeneralRe: Here's how! Pin
Member 1118935724-Sep-16 3:55
Member 1118935724-Sep-16 3:55 
GeneralRe: Here's how! Pin
Richard MacCutchan24-Sep-16 4:05
mveRichard MacCutchan24-Sep-16 4:05 
GeneralRe: Here's how! Pin
Member 1118935724-Sep-16 4:19
Member 1118935724-Sep-16 4:19 
GeneralRe: Here's how! Pin
leon de boer24-Sep-16 7:37
leon de boer24-Sep-16 7:37 
GeneralRe: Here's how! Pin
Member 1118935724-Sep-16 10:52
Member 1118935724-Sep-16 10:52 
GeneralRe: Here's how! Pin
leon de boer24-Sep-16 16:43
leon de boer24-Sep-16 16:43 
GeneralRe: Here's how! Pin
Member 1118935724-Sep-16 19:55
Member 1118935724-Sep-16 19:55 
GeneralRe: Here's how! Pin
Richard MacCutchan24-Sep-16 20:36
mveRichard MacCutchan24-Sep-16 20:36 
QuestionRe: Here's how! Pin
David Crow25-Sep-16 17:10
David Crow25-Sep-16 17:10 

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.