You are not logged in to Prodigits. Please register or login.
Subject: C++ help
Replies: 9 Views: 779
lexus222 9.07.11 - 12:29am
hope someone could help me.. ive just started programing course and im a total noob at it. i got to write my first two programs and when i run debug as i understand it i should get command prompt window with the output instead it flashes for a sec and thats it. there are no error codes so i dont know if i got the progs right or not. what the hell im doing wrong :) * +
n3cipher 9.07.11 - 01:50am
Dude there are too much tutorials online for you to be looking for a free tutor. * +
lexus222 9.07.11 - 02:01am
i dont need a tutor, i know the code i wrote is woking.. managed to take a print screen, but it should stay on and not flash for a sec.so i think its something with the settings of Visual C++ or something else, google didnt help and troubleshooting either. * +
lexus222 9.07.11 - 02:02am
print screen of the output window * +
oetinger 9.07.11 - 03:15am
if you mean the console windows closes after it executes your program, add the line at the end of main 'return 0' or use a cin command to stop it from closing just to see whats wrong. * +
lexus222 9.07.11 - 03:35am
tnx! * +
arjunkr 9.07.11 - 11:46am
Getchar() use this at the end of your program,else run your program via command prompt * +
youngwo 10.07.11 - 11:06am
before 'return 0' write 'system (''pause''):' if u get other problems you cud inbox me * +
+ go to page 1-2
+ my page
+ functions
3 search
4 submit a reply
7 last page
+ bookmark
8 Tech&Computers Forum
9 Forum Index