cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
why is my program not running? (Borland
why is my program not running? (Borland C++ IDE)
Feb 18, 2013 at 3:32pm UTC
roxandara
(1)
I'm typing everything right, no errors, it even said success when i compiled it but when i run it it closes. HELP PLEASEEEE?!
Feb 18, 2013 at 3:36pm UTC
vlad from moscow
(6539)
read the reference
http://www.cplusplus.com/forum/beginner/1988/
Feb 18, 2013 at 5:56pm UTC
Gameboy24
(4)
Try putting this at the end or your int main:
system("pause");
Feb 18, 2013 at 6:42pm UTC
Fransje
(435)
Try putting this at the end or your int main:
system("pause");
Nope. Use
std::cin.get();
instead.
Feb 18, 2013 at 7:17pm UTC
ne555
(10692)
Nope, execute console programs from the console.
Your IDE should provide a wrapper for the execution, so it will survive to your program (you'll get the output in case of exceptions, fatal errors, calls to exit(), etc)
Topic archived. No new replies allowed.