简体   繁体   中英

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM