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
tim
October 11, 2002 06:13 AM
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.
Include the conio.h header and add getch() where you want it to pause.
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
[size="2"]www.coldcity.com code, art, life
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement