How do I redefine a call like this via C preprocessor Instructions to snprintf?
sprintf_s<sizeof(dataFile)>(dataFile, arg2, arg3);
I tried this (which doesn't work):
#define sprintf_s<sizeof(x)>(args...) snprintf<sizeof(x)>(args)
Especially because I already need this for calls to sprintf_s without a template in the same files:
#define sprintf_s(args...) snprintf(args)