- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have a fortran program that outputs text to the console upon termination. Before I was using the old Compaq compiler and when launched in debugging mode the console window would not close upon successful termination of the program. However, my new Intel 2011 Fortran compiler does. I then have to run the program separately in a command prompt to see this output data. Is there a way to prevent the console from closing automatically upon termination?
Thank you
I have a fortran program that outputs text to the console upon termination. Before I was using the old Compaq compiler and when launched in debugging mode the console window would not close upon successful termination of the program. However, my new Intel 2011 Fortran compiler does. I then have to run the program separately in a command prompt to see this output data. Is there a way to prevent the console from closing automatically upon termination?
Thank you
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is a Visual Studio behavior and is the same as with CVF. If you start in Visual Studio with "Start without debugging", then the console window does not close. There is no way to change the Visual Studio behavior here, but you could set a breakpoint at the last line of the program or insert a read from the console.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page