user1378398
user1378398

Reputation: 15

How to run console with a c++ application

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

Answers (1)

selbie
selbie

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

Related Questions