Programs opening in dos

Gothiatek

New member
When i make a new prog they always open in an cmd window and i can't see the answers i wanted from the prog, i code in C.

Q: Do i need to learn GUI code
 
You're probably making console programs. It's been forever since I programmed in C, but if you add this (I think) to the end, the window should remain open until you press a key:

getchar();
 
Back
Top