4
Contributors
8
Replies
9
Views
6 Years
Discussion Span
Last Post by Nandomo
Featured Replies
  • >> Lol... your code is most likely missing a system("pause"); This is generally frowned upon. [url]http://www.daniweb.com/forums/thread229044.html[/url] But it will work. just be aware of the risks/drawbacks. Read More

0

Is he running the code from the command line by typing it in, or by double-clicking it in some kind of file browser?

0

i give him to him by a download link, its a .exe file then he double clicks on it and runs it, but then the program just goes away quickly.

0

If he runs it from a shell, any error message will remain on screen and then he can tell you the error and you can fix it.

0

>>i give him to him by a download link, its a .exe file then he double clicks on it and runs it, but then the program just goes away quickly.

But what kind of program is it? If it's a console program, once the program exits, with or without an error, the window will be gone. You either need to change th console program so it pauses...

http://www.dreamincode.net/forums/topic/30581-holding-the-execution-window-open/

or he needs to run it from a console window (i.e. NOT by double-clicking it).

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.