Hey a quick questoin, thx in advance
I did the tutorial hello world exactly but my screen just minimize and them maximises real fast and doesn''t do anything else, i''m positive i did everything the tutorial said, thanks? do i have to add something to make the program stay or what? thx
what tutorial? it propably opens your window and prints the
hello world there, but it exits right after it. add pause there.
hello world there, but it exits right after it. add pause there.
I''m guessing that it''s a console mode Hello World program; and you''re double-clicking on the exe.
Try instead opening a command prompt/dos box, changing to the directory where the exe is and typing it''s name. Then, when the exe runs, the command prompt won''t instantly close.
HTH...
www.coldcity.com
code, pics, life
Try instead opening a command prompt/dos box, changing to the directory where the exe is and typing it''s name. Then, when the exe runs, the command prompt won''t instantly close.
HTH...
www.coldcity.com
code, pics, life
Also, in Dev-C++, click the set of folders on the far right side of the top toolbar. That will open a box called project options. Look on the "Project type:" checklist in the upper right-hand corner and make sure "Do not create a console" is not checked.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement