| | |
Program is shutting down right after program is executed
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
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 |
api array based binary c++ c/c++ calculator char char* class classes code coding compile console conversion count database delete deploy desktop developer directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java linkedlist linker linux list loop looping loops map math matrix memory multiple news number numbertoword output parameter pointer problem program programming project python random read recursion recursive reference return rpg sorting string strings struct temperature template templates test text text-file tree unix url variable vector video visualstudio win32 windows winsock wordfrequency wxwidgets







