Click here to Skip to main content
16,004,887 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: difference between debug-build and release build Pin
Anurag Gandhi27-Aug-07 3:22
professionalAnurag Gandhi27-Aug-07 3:22 
QuestionText-to-Speech Pin
Abdul8526-Aug-07 19:39
Abdul8526-Aug-07 19:39 
AnswerRe: Text-to-Speech Pin
chandu00427-Aug-07 1:15
chandu00427-Aug-07 1:15 
AnswerRe: Text-to-Speech Pin
Russell'27-Aug-07 1:48
Russell'27-Aug-07 1:48 
GeneralRe: Text-to-Speech Pin
Abdul8527-Aug-07 19:11
Abdul8527-Aug-07 19:11 
GeneralRe: Text-to-Speech Pin
Russell'27-Aug-07 21:50
Russell'27-Aug-07 21:50 
QuestionHow to change the space between item object and text in list view ? Pin
Yanshof26-Aug-07 19:23
Yanshof26-Aug-07 19:23 
QuestionHow to forward a variable-argument list to fprintf()? Pin
min_2_max26-Aug-07 15:06
min_2_max26-Aug-07 15:06 
Hello,

I'm not familiar with the variable-argument lists in C. And I want to
define a function similar to fprintf() and relay the paramater list to
it, I'm using the code similar to the following:

// helper function to direct TRACE output to file
void TraceToFile(const char *format, ...)
{
static FILE *fp;

// ...

va_list(arglist);
va_start(arglist, format);
fprintf(fp, format, arglist);
}

but the result seems to be incorrect. Anybody can help me on this?

Thanks.

Max

AnswerRe: How to forward a variable-argument list to fprintf()? Pin
Roger Broomfield26-Aug-07 15:55
Roger Broomfield26-Aug-07 15:55 
GeneralRe: How to forward a variable-argument list to fprintf()? Pin
min_2_max26-Aug-07 17:03
min_2_max26-Aug-07 17:03 
QuestionGetting speed in file reading Pin
nadiric26-Aug-07 13:52
nadiric26-Aug-07 13:52 
AnswerRe: Getting speed in file reading Pin
aks.26-Aug-07 17:16
aks.26-Aug-07 17:16 
AnswerRe: Getting speed in file reading Pin
Mark Salsbery26-Aug-07 17:38
Mark Salsbery26-Aug-07 17:38 
AnswerRe: Getting speed in file reading Pin
Stephen Hewitt26-Aug-07 18:38
Stephen Hewitt26-Aug-07 18:38 
GeneralRe: Getting speed in file reading Pin
nadiric28-Aug-07 12:23
nadiric28-Aug-07 12:23 
AnswerRe: Getting speed in file reading Pin
Waldermort26-Aug-07 19:20
Waldermort26-Aug-07 19:20 
Questionhow to use MFC CArchive Pin
alberthyc26-Aug-07 12:47
alberthyc26-Aug-07 12:47 
AnswerRe: how to use MFC CArchive Pin
Mark Salsbery26-Aug-07 17:13
Mark Salsbery26-Aug-07 17:13 
AnswerSIMPLY USE FILE *fp instead Pin
chandu00427-Aug-07 1:33
chandu00427-Aug-07 1:33 
RantRe: SIMPLY USE FILE *fp instead [modified] Pin
tha_specializt8-Dec-10 3:47
tha_specializt8-Dec-10 3:47 
AnswerRe: how to use MFC CArchive Pin
David Crow27-Aug-07 3:11
David Crow27-Aug-07 3:11 
QuestionFunction list MSVCP60.DLL Pin
fledgeling@be26-Aug-07 9:23
fledgeling@be26-Aug-07 9:23 
QuestionRe: Function list MSVCP60.DLL Pin
David Crow26-Aug-07 10:46
David Crow26-Aug-07 10:46 
AnswerRe: Function list MSVCP60.DLL Pin
fledgeling@be27-Aug-07 11:10
fledgeling@be27-Aug-07 11:10 
QuestionRe: Function list MSVCP60.DLL Pin
David Crow27-Aug-07 11:17
David Crow27-Aug-07 11:17 

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.