Thanks for your fast and quick help. Visited the build settings menu in the compiler and entered in the link menu /subsystem: console & /subsystem: windows. I am using currently Windows 8.0 for MicroSoft FortranPowerStation 4.0.
I tried as per your guidance, but giving below 2 errors, 1 warning.
1. Internal Error-unexpected error
File “qwin\qwgraph\qwgutil.c”, line 1699.
2. After modified source as per your help note, at the time of running the .exe file, giving run-time error F6998: QWIN. Displayed the message on the monitor is”–using quick win is illegal in console application”.
LINK: warning LNK4010: invalid version number /SUBSYSTEM: WINDOWS, /QWIN; default version assumed
tsun.exe - 0 error(s), 1 warning(s)
I am not worrying about the warning in above point 3.
What can I do?