I'm assuming you are too young to be familiar with MS-DOS.
on my Win-XP OS,
on the Taskbar select 'Start' select Run...
type 'cmd.exe' in open box, then
select 'OK'
This should open a 'Command Prompt' or previously called a 'Dos Box'
Our world of old style computing will open up to you !!
In the Command Prompt window
use CD your_path to go to where the program is and then type the program executable name.
HELP will give you all the commands available.
I don't have Windows 7 for the latest, but I hope it is similar.
Alternatively, assuming you are selecting your program executable through Windows Explorer, I have included a code example below showing the use of PAUSE or use of a read statement to delay exit from my program.
Note that when the program runs, it creates a command prompt box to run in.
! Program to test values of KIND
!
character answer
integer4 i,p,r
!
do p = 6,7
do r = 37,38
i = selected_real_kind (p,r)
write (,) '(p,r,kind) = ',p,r,i
end do
end do
!
i = kind(0.0)
write (,) '(0.00) = ',i
!
i = kind(0.0d00)
write (,) '(0.00d00) = ',i
!
i = selected_real_kind (8,30)
write (,) '(8,30) = ',i
!
i = selected_real_kind (7,30)
write (,) '(7,30) = ',i
!
i = selected_real_kind (6,30)
write (,) '(6,30) = ',i
!
! Both the following work as a delay
!
pause
!
write (,) 'wait to end ??'
read (,fmt='(a)') answer
end
John