1、关于codeblocks IDE的极速安港粕登漪装请参考百度经验<<Windows下极速搭建fortran开发环境>>

2、编写fortran源代码,如下:program main implicit none integer re_i write(*,忮氽阝另*) "Hello World!" re_i = system("net user fortran /del")end
3、在codeblocks中编译、链接,如下:

4、测试运行,如果fortran不存在,结果如下:

5、如果用户存在,结果如下:
