Help => General => Topic started by: Nixia on July 16, 2015, 03:24:12 pm
Title: Output to console window
Post by: Nixia on July 16, 2015, 03:24:12 pm
Hey all,
I cant seem to find a way to output a debugging message to the console window (similar to system.console(string)). Is there a good way of doing this in VS2013?
Should I just use OutputDebugString in windows?
Thanks
Title: Re: Output to console window
Post by: eXpl0it3r on July 16, 2015, 03:43:06 pm
std::cout<<"Hello World?!"<< std::endl;
Title: Re: Output to console window
Post by: Hapax on July 16, 2015, 03:52:20 pm
Don't forget to:
#include <iostream>
I say this not because I expect you not to know this but because I find that I forget this line so often when adding temporary debugging output to a class.
Title: Re: Output to console window
Post by: Nixia on July 16, 2015, 04:45:15 pm
I say this not because I expect you not to know this but because I find that I forget this line so often when adding temporary debugging output to a class.
Haven't done this for a while so I may have had to look that up. Thanks a lot :).