Click here to Skip to main content
15,902,032 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: System info Pin
JohnnyG14-Sep-02 7:30
JohnnyG14-Sep-02 7:30 
Generalimage control in status bar Pin
ns13-Sep-02 3:47
ns13-Sep-02 3:47 
GeneralRe: image control in status bar Pin
Pavel Klocek13-Sep-02 4:17
Pavel Klocek13-Sep-02 4:17 
GeneralProcedure Entry Point could not be located Pin
abhinarulkar13-Sep-02 2:15
abhinarulkar13-Sep-02 2:15 
GeneralRe: Procedure Entry Point could not be located Pin
Tomasz Sowinski13-Sep-02 2:20
Tomasz Sowinski13-Sep-02 2:20 
GeneralRe: Procedure Entry Point could not be located Pin
abhinarulkar13-Sep-02 2:44
abhinarulkar13-Sep-02 2:44 
GeneralRe: Procedure Entry Point could not be located Pin
Tomasz Sowinski13-Sep-02 2:49
Tomasz Sowinski13-Sep-02 2:49 
GeneralPlease help with CAsyncSocket Pin
rrrado13-Sep-02 1:02
rrrado13-Sep-02 1:02 
GeneralRe: Please help with CAsyncSocket Pin
Rickard Andersson2013-Sep-02 2:59
Rickard Andersson2013-Sep-02 2:59 
GeneralRe: Please help with CAsyncSocket Pin
Anonymous13-Sep-02 17:11
Anonymous13-Sep-02 17:11 

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.