When I run allegro program there isnt standard text console. How can I make it appear, so I can use cout and cin then? Im using Dev-Cpp and allegro 4.2.1.
Asked
Active
Viewed 486 times
1 Answers
3
Two ways:
- Create the application as a console application
Use the Win32 API to allocate and attach a console when needed:

sehe
- 374,641
- 47
- 450
- 633
-
Thats all. Great answer, thanx. – noisy cat May 02 '12 at 17:43
-
I found another way (simillar to ur 1st one), just change in the project options from win32 gui to win32 console. – noisy cat May 02 '12 at 17:44