Discussion:
va_start/va_end without MFC
(too old to reply)
Frank
2015-07-21 13:47:08 UTC
Permalink
Dear people,

I'm making an MFC free application,
and in a header file, I have a function with
a variable number of arguments, like sprintf.

This is usually done by va_start/va_end etc.,
but if I do not use MFC, I get a

C3861: 'va_start': identifier not found

same for va_end.

Is there a replacement for those?

TIA!
ElChino
2015-07-24 18:56:27 UTC
Permalink
Post by Frank
This is usually done by va_start/va_end etc.,
but if I do not use MFC, I get a
C3861: 'va_start': identifier not found
same for va_end.
Is there a replacement for those?
Yes, #include <stdarg.h>.

Loading...