I'm having trouble getting a simple piece of fortran90 code to work. Here is the code for helloworld.f90:
PROGRAM hello
IMPLICIT NONE
PRINT *,"Hello world!"
END PROGRAM hello
When I compile and build, there are no errors. But as soon as I click on execute, this error appears in the command prompt:
'"./helloworld"' is not recognized as an internal or external command, operable program or batch file.
How do I get it to work? I'm using geany as an IDE, and when using Ubuntu linux it works just fine. It's when I run it under windows 7 that I get this problem. These are the compile and build commands:
Compile: gfortran -Wall -c "helloworld.f90" (in directory: C:\Users\Eddy\Documents\Code\Fortran)
Build: gfortran -Wall -o "helloworld" "helloworld.f90" (in directory: C:\Users\Eddy\Documents\Code\Fortran)