tags:

views:

42

answers:

2

I am completely new to this game, so please be gentle ;-)

I made an example program in Fortran 90, let's call it 'program.f90'. I compile it:

g95 program.f90

It creates an executable called a.out.

How do I run this? It is supposed to print something to the screen, and get input from me, but I cannot figure out how to!

+1  A: 

In the same terminal as you ran g95, type ./a.out - this should then read input from your terminal and write output to the terminal.

Andrew Walker
Hah! I thought I tried that! Thank you!!
lollygagger
+1  A: 

Try this:

% ./a.out
Paul R