•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 397,798 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,350 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser:
Views: 3939 | Replies: 8
![]() |
•
•
Join Date: May 2003
Posts: 36
Reputation:
Rep Power: 6
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.
#2
May 30th, 2003
#4
May 31st, 2003
•
•
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,881
Reputation:
Rep Power: 32
Solved Threads: 108
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.
Dani the Computer Science Gal
Do you run a computer-related website? Feature it in our niche link directory!
Do you run a computer-related website? Feature it in our niche link directory!
•
•
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,881
Reputation:
Rep Power: 32
Solved Threads: 108
no problem
Dani the Computer Science Gal
Do you run a computer-related website? Feature it in our niche link directory!
Do you run a computer-related website? Feature it in our niche link directory!
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb C++ Marketplace
Similar Threads
- Need help with Engineering Journal Program (C)
- my program?is it right or wrong (Java)
- How to invoke a perl program from a perl program. (Perl)
- DOS program created with Clipper error out in Windows 2000 (Windows NT / 2000 / XP / 2003)
- writing a simple cat program (C)
- Running a program (C++)
Other Threads in the C++ Forum
- Previous Thread: C++ and AI
- Next Thread: a outline would help



Linear Mode