I always forget this one, so better keep a reminder here
How to display a C preprocessor output message:
#pragma message "Here!"
#pragma message
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: #pragma message
For VC use pragma message like this:
#pragma message( "Here!" )
https://docs.microsoft.com/en-us/cpp/pr ... ew=vs-2019
#pragma message( "Here!" )
https://docs.microsoft.com/en-us/cpp/pr ... ew=vs-2019