In Visual Studio,
#pragma message ("Warning goes here")
On a side note, if you want to suppress such warnings, find the compiler warning ID (for the deprecated warning, it’s C4996) and insert this line:
#pragma warning( disable : 4996)
In Visual Studio,
#pragma message ("Warning goes here")
On a side note, if you want to suppress such warnings, find the compiler warning ID (for the deprecated warning, it’s C4996) and insert this line:
#pragma warning( disable : 4996)