c++ - MSVC++ how to ouput something to the "output"-window during compilation -


Sometimes I see that some projects write something in the output while compiling.

How can it be obtained in MSVC ++

Thanks!

Usage #pragma message for example

  #define MESSAGE (t) message (__ file__ "(" STRINGXXX (__ LINE__) "):" T "#define STRINGXXX (x) STRINGYYY (x) #define STRINGYYY (x) #x  < / Pre> 

Then if you enter

  #pragma MESSAGE ("TODO: test")  

this would be like normal compiler messages Appears as a clickable message


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -