View previous topic :: View next topic |
Author |
Message |
SaintMichael57
Joined: 28 Nov 2016 Posts: 14
|
Posted: Fri Sep 27, 2019 10:51 pm Post subject: Disappearing Output |
|
|
Dear Silverfrost forum members:
Despite my including all of the necessary code in my programs, including the output statements, once I run my programs, there is no output! What am I doing wrong? I am running Microsoft Windows 10 64-bit as an operating system. Thank you.  |
|
Back to top |
|
 |
mecej4
Joined: 31 Oct 2006 Posts: 1899
|
Posted: Sat Sep 28, 2019 1:48 am Post subject: |
|
|
Please show a few of the file access and I/O statements. State how you build and run the program. Then, after seeing the details, we may be able to tell you what else to try. |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8210 Location: Salford, UK
|
Posted: Sat Sep 28, 2019 7:25 am Post subject: |
|
|
In particular are you creating a "console" application and are you running the program from a "Command prompt" window or from a IDE such as Visual Studio or Plato?
A console application run from Windows Explorer or Visual Studio may not pause to allow you to see the results. |
|
Back to top |
|
 |
wahorger

Joined: 13 Oct 2014 Posts: 1257 Location: Morrison, CO, USA
|
Posted: Sun Sep 29, 2019 11:40 pm Post subject: |
|
|
Alternatively, put a PAUSE statement in your program just before the STOP statement and see if you can see the output. Direct all program control to the PAUSE statement (stated another way, only allow one way out of the program). |
|
Back to top |
|
 |
|