I've created a basic win32 window, and I want to have a background console window that I can use for output. What is the simplest way to create an output console to go along with a window?
*note: I've seen an implementation for VC++ that sends cout commands to the console, and this implementation would be fine, but when I try to use it, I get all kinds of compiler errors. Something about being outside the VC++ dev enviroment makes alot of the outbuf tags throw exceptions.
Any help would be appreciated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In Porject Options, select "Win32 Console" as type, then recompile your project. You will have the console where you can see all stdout and stderr of your program, while you will still have the graphical window.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've created a basic win32 window, and I want to have a background console window that I can use for output. What is the simplest way to create an output console to go along with a window?
*note: I've seen an implementation for VC++ that sends cout commands to the console, and this implementation would be fine, but when I try to use it, I get all kinds of compiler errors. Something about being outside the VC++ dev enviroment makes alot of the outbuf tags throw exceptions.
Any help would be appreciated.
In Porject Options, select "Win32 Console" as type, then recompile your project. You will have the console where you can see all stdout and stderr of your program, while you will still have the graphical window.