![]() |
|
#1
|
|||
|
|||
How can I make the program end after a key is hit?Ok so I'm not a programmer. I just finished making an engineering optimization program in Visual C++ 6. It's just a command line program nothing fancy. When I run it from Visual C++ it has the built in press any key but when I go to click the executable it flashes by and closes the prompt window.
If you go to the command prompt manually it doesn't know how to run the exe. I need help. My teacher has to be able to run and SEE the program Thanks again |
|||
|
#2
|
||||
|
||||
|
Hello,
One of the senior members here, WaltP, wrote a tutorial on this. You can find it here: Pausing a Program to See the Output Hope this helps. - Stack Overflow __________________
Following the rules will ensure you get a prompt answer to your question. If posting code, please include BB [C] / [C++] tags. Your question may have been asked before, try the search facility. |
|
#3
|
|||
|
|||
|
That did it, Thanks!
|
Recent GIDBlog
Accepted for Ph.D. program by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| what is needed to make a download accelerator program | emmie | MS Visual C++ / MFC Forum | 0 | 21-Apr-2005 05:20 |
| Need help with a C program (Long) | McFury | C Programming Language | 3 | 29-Apr-2004 21:06 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The