Click here to Skip to main content
15,916,949 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalprogrammatically creating new doc Pin
brianwelsch13-Sep-02 9:22
brianwelsch13-Sep-02 9:22 
GeneralRe: programmatically creating new doc Pin
Pavel Klocek13-Sep-02 9:56
Pavel Klocek13-Sep-02 9:56 
GeneralRe: programmatically creating new doc Pin
brianwelsch13-Sep-02 10:31
brianwelsch13-Sep-02 10:31 
GeneralRe: programmatically creating new doc Pin
Pavel Klocek13-Sep-02 10:52
Pavel Klocek13-Sep-02 10:52 
GeneralRe: programmatically creating new doc Pin
brianwelsch13-Sep-02 11:00
brianwelsch13-Sep-02 11:00 
GeneralRe: programmatically creating new doc Pin
Pavel Klocek13-Sep-02 11:22
Pavel Klocek13-Sep-02 11:22 
GeneralRe: programmatically creating new doc Pin
brianwelsch13-Sep-02 11:25
brianwelsch13-Sep-02 11:25 
GeneralRe: programmatically creating new doc Pin
Pavel Klocek13-Sep-02 11:30
Pavel Klocek13-Sep-02 11:30 
Generalquick STL question: Pin
ns13-Sep-02 9:21
ns13-Sep-02 9:21 
GeneralRe: quick STL question: Pin
Joaquín M López Muñoz13-Sep-02 9:29
Joaquín M López Muñoz13-Sep-02 9:29 
GeneralRe: quick STL question: Pin
Chris Losinger13-Sep-02 9:29
professionalChris Losinger13-Sep-02 9:29 
GeneralRe: quick STL question: Pin
ns13-Sep-02 9:39
ns13-Sep-02 9:39 
QuestionTutorial on threads?? Pin
DarrollWalsh13-Sep-02 7:39
DarrollWalsh13-Sep-02 7:39 
AnswerRe: Tutorial on threads?? Pin
Chris Losinger13-Sep-02 9:43
professionalChris Losinger13-Sep-02 9:43 
QuestionHow to identify class of dialog control Pin
John Oliver13-Sep-02 6:27
John Oliver13-Sep-02 6:27 
AnswerRe: How to identify class of dialog control Pin
Pavel Klocek13-Sep-02 6:51
Pavel Klocek13-Sep-02 6:51 
GeneralRe: How to identify class of dialog control Pin
John Oliver15-Sep-02 23:01
John Oliver15-Sep-02 23:01 
Generalvariable arguments Pin
Zizilamoroso13-Sep-02 5:12
Zizilamoroso13-Sep-02 5:12 
I want to create a wrapper for sprintf, a function that uses variable arguments.

Mu function should look something like this:
void extra_sprintf(const char* lpText,...)
{
char buf[256];
sprintf(buf,lpText,...); // ... exact same arguments from extra_sprintf
// some extra code
}

Confused | :confused: How can I call the regular sprintf function inside my extra_sprintf function, as simple as possible?

tnx Cool | :cool:



[VISUAL STUDIO 6.0] [MFC] [WIN98/2]
GeneralRe: variable arguments Pin
Tomasz Sowinski13-Sep-02 5:19
Tomasz Sowinski13-Sep-02 5:19 
GeneralRe: variable arguments Pin
Zizilamoroso13-Sep-02 5:23
Zizilamoroso13-Sep-02 5:23 
GeneralRe: variable arguments Pin
Tomasz Sowinski13-Sep-02 5:28
Tomasz Sowinski13-Sep-02 5:28 
GeneralRe: variable arguments Pin
Pavel Klocek13-Sep-02 5:31
Pavel Klocek13-Sep-02 5:31 
GeneralRe: variable arguments Pin
Zizilamoroso13-Sep-02 5:45
Zizilamoroso13-Sep-02 5:45 
GeneralSystem info Pin
doctorpi13-Sep-02 4:45
doctorpi13-Sep-02 4:45 
GeneralRe: System info Pin
kite13-Sep-02 8:27
kite13-Sep-02 8:27 

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.