Reputation: 15
I need to run a console when the app starts (for debug, log, etc) without a .bat file. I use the LCC compiler on Windows 7 x86.
Upvotes: 1
Views: 110
Reputation: 104559
Look at the console APIs in Windows, start with AllocConsole.
http://msdn.microsoft.com/en-us/library/windows/desktop/ms682010%28v=vs.85%29.aspx
Upvotes: 1