Hi there. I am trying to restart my fortran which I did years ago but it was a different fortran, FORTRAN IV. So, I have Windows 7==>Oracle VirtualBox==>Ubuntu 12.04
with gfortran installed. I also got a simple-simple source code program with just one executable statement and tried to compile. This is what I got:
alex@alex-VirtualBox:~$ cat fortran_1.f
C PRINT STATEMENT IS LIKE WRITE
C but prints to the standard output unit
PRINT '(A)', 'Hello, world'
alex@alex-VirtualBox:~$ gfortran -o fortran_1.f
gfortran: fatal error: no input files; unwilling to write output files compilation terminated
What does it all mean? There is no READ statement what would require an input file. Why is it unwilling to write output files?
Also, how come it does not give me an error number? I could have looked it up on the Internet where all errors are numbered.
Thanks, - Alex