When using sprintf, the compiler warns me that the function is deprecated.
How can I show my own compiler warning?
To mark a function as deprecated, use __declspec(deprecated), e.g.
__declspec(deprecated) void f();