Well, I have a game window, on a DirectX based game engine, but I'd like the program to start a console window too, that I can use to pass stuff too, to check stuff or whatever I wanna do :P
Well, I have a game window, on a DirectX based game engine, but I'd like the program to start a console window too, that I can use to pass stuff too, to check stuff or whatever I wanna do :P
Currently research OpenGL
You can use the AllocConsole() API to create a console, but if you're running full-screen, nobody will see it.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
It's in windowed mode, and it's mostly just for me, so that I can learn how to do it, and prolly find it useful ^^
Currently research OpenGL
Ok, I read abit about this AllocConsole(), now do I need windows.h for it, or wincon.h ?
Currently research OpenGL
windows.h. Most of the WinAPI headers are included by windows.h, and the order matters, so you should never include them directly.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law