| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Newbie
Hello all im a reall live newbie lol i need help i just start learning c and c++ and i was wondering if when i compile my script and then run it is there suppose to be a command prompt come up or is it just suppose to flash a command prompt? because thats what it does and i dont know if its working or not??
thank you Smackadoo ![]() |
|
#2
|
||||
|
||||
|
The program exits the moment the code finishes executing. You'll need to pause the prompt to await user input. Use the getchar() function or something similar.
__________________
Officially a member of the Itsacon fan club. Beer blasts are every friday at Viper_SB's house. I bring the chips. ![]() |
![]() |
| Viewing: Dev Articles Community Forums > Programming > C/C++ Help > Newbie |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|