convert from .cpp to .exe using turbo c++

September 9, 2010 at 21:58:25
Specs: Windows Vista
Hi guys, i'm learning c++ and my compiler is turbo c++. I compiled a simple addition program in c++ but i am not able to convert it into an exe that can run independently. when i select the build option i see the exe file but after running it it disappears from the screen without showing me the output... pls i need help.

See More: convert from .cpp to .exe using turbo c++

Report •

#1
September 9, 2010 at 22:24:45
Try adding either while(getchar() != '\n'){} or while(cin.get() != '\n'){} after you output your results.

HTH

-------------------------------------------
I have no aspiration for preaching. ;-)


Report •

#2
February 13, 2011 at 01:51:09
after complete coding your program in C++ window , just click on COMPILE TAB on the menu bar where another subtab named LINK is given, just click on the Link tab , It will show you the dialogue box showing the name and location of the EXE file associated to your program.

Report •
Related Solutions


Ask Question