Hello,
I will have to build my application with a different compiler at some point.
The secure functions like sprintf_s are a nice feature of the visual c++
compiler. But they will probably not be supported on the target platform. If
I had the possibility to #define a macro which uses sprintf_s if the visual
c++ compiler is used and uses the standard sprintf if a different compiler is
used I would not have to switch off the deprecated warnings.
Can I define a macro with optional arguments as sprintf resp. sprintf_s use?
Thanks for your suggestions,
Fabian