- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Fortran 11.1.051, Visual Studio 2008, Windows 7 HB
1) What should I do to console application window were at the forefront when the program finished?
Console application window located back of the Visual Studio window when I run the program from VS.
2) What should I do to windows applications (console and Quick Win) is not automatically closed when you exit the program?
3) How to respond to the letters in this forum?
- Balises:
- Intel® Fortran Compiler
Lien copié
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
pause
at the end of program.
Other possibility is to run program from *.bat file like
program.exe
pause
it closes console window after key is pressed.
Put console window to foreground is possible only by win32 api call ShowWindow (I do not use QuickWin so may be it has its own function)
Jakub
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
In QuickWin, the default is to put up a message box asking if it is ok to close the windows. You can turn this off with a call to SETEXITQQ.
When run "without debugging" from Visual Studio, there is an added "press any key" prompt when the program exits. This does not occur if you run with debugging or if you run the program from outside Visual Studio.
Some people are finding that they cannot reply to posts in the forum. This will be fixed soon.
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable