- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
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
Ссылка скопирована
1 Ответить
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
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.
Ответить
Параметры темы
- Подписка на RSS-канал
- Отметить тему как новую
- Отметить тему как прочитанную
- Выполнить отслеживание данной Тема для текущего пользователя
- Закладка
- Подписаться
- Страница в формате печати