系统自动建立的Fortran控制台工程无法编译。。。
第一次玩Fortran。装了Intel Visual Fortran 10。在VS2005下建了一个控制台工程,系统自动添加如下代码:
! Console2.f90
!
! FUNCTIONS:
! Console2 - Entry point of console application.
!
!****************************************************************************
!
! PROGRAM: Console2
!
! PURPOSE: Entry point for the console application.
!
!****************************************************************************
program Console2
implicit none
! Variables
! Body of Console2
print *, 'Hello World'
end program Console2
尝试编译,却报如下的错:Error: Unrecognized token '?' skipped。着实匪夷所思,望指教,谢谢。