Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Logging to console?

Author
Message
wargasmic
18
Years of Service
User Offline
Joined: 15th Oct 2006
Location: UK
Posted: 19th Jul 2012 17:55
Is there a way to have a console window open in tier 2 to log to while the game is running?
Dar13
16
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 19th Jul 2012 18:29
Quote: "Is there a way to have a console window open in tier 2 to log to while the game is running?"

Yes.

Here's an example class that sets it up so that std::cout is directed to the console.
Console.h


Console.cpp


Login to post a reply

Server time is: 2024-11-23 18:00:31
Your offset time is: 2024-11-23 18:00:31