| | |
Program is shutting down right after program is executed
![]() |
•
•
Join Date: May 2003
Posts: 36
Reputation:
Solved Threads: 0
I've made some C++ dos programs, and it runs fine, and does everything I want it to, but the moment it does the last line of code, it exits. I use Visual C++, and it stays on when I preview it in there, but after I compile it, and run it in the directory it was stored in, it exits right away after it's done.
Is there anyway to solve this? I've tried "System: Pause", but I think i'm doing it wrong.
Is there anyway to solve this? I've tried "System: Pause", but I think i'm doing it wrong.
Mr Gates, were any of these suggestions helpful? I take it you got it working? A simple user input at the end of the program should offset it automatically exiting.
![]() |
Similar Threads
- program that starts another program. (C++)
- Please correct the error in my program. When i run the program on turbo c++ 3,. (C++)
- How to invoke a perl program from a perl program. (Perl)
- MS-Dos program and Windows program (C++)
- Cant execute a c++ program (C++)
Other Threads in the C++ Forum
- Previous Thread: C++ and AI
- Next Thread: a outline would help
| Thread Tools | Search this Thread |
anyfile api array based binary bitmap c++ c/c++ char class classes code coding compile console conversion count delete deploy desktop developer directshow dll download draw dynamic dynamiccharacterarray email encryption error file forms fstream function functions game gdi+ givemetehcodez gnu graph gui homeworkhelp homeworkhelper http iamthwee ibm ifstream input int integer java lib linkedlist linker loop looping loops map math matrix memory multiple news node number numbertoword output packing parameter pointer problem program programming project python random read recursion reference rpg string strings temperature template test text text-file tree url variable vector video visualc++ visualizationtoolkit win32 windows winsock word wordfrequency wxwidgets







