VScode中配置使用fortran的方法

【VScode中配置使用fortran的方法】VScode中配置使用fortran的方法,博智网带你了解详细信息 。
目录

  • 一. 编译器的下载
    • 1.编译器的选择
    • 2. MinGW w64文件下载
    • 3.环境变量的配置
  • 二. VScode调试相关插件
    • 1. 安装VScode
    • 2.命令行窗口编辑
    • 3.安装插件
  • 三.编译运行
    • 1.配置文件
    • 2.调试

**
一. 编译器的下载**

1.编译器的选择
MinGW w64是Minimalist GNU for Windows的缩写. 它是一个可自由使用和自由发布的Windows特定头文件和使用GNU工具集导入库的集合, 里面包含了我们需要的C编译器gcc, C++编译器g++, 以及Fortran编译器gfortran. 其中w64表示64位操作系统的应用:
其他编译器请自行搜索,但VScode使用MinGW w64较好,因为这两个都是开源免费的 。
2. MinGW w64文件下载
下载地址
https://sourceforge.net/projects/mingw-w64/files/
由于平台和版本更新的原因,需要找到合适的MinGW w64,这里提供两种下载方式:
一种是下载下载器,点击下图所示下载,按照提示下载,具体步骤可参考 https://www.jb51.net/article/206222.htm
VScode中配置使用fortran的方法


VScode中配置使用fortran的方法


VScode中配置使用fortran的方法


VScode中配置使用fortran的方法


VScode中配置使用fortran的方法


VScode中配置使用fortran的方法


VScode中配置使用fortran的方法


VScode中配置使用fortran的方法


VScode中配置使用fortran的方法


VScode中配置使用fortran的方法


VScode中配置使用fortran的方法


VScode中配置使用fortran的方法


VScode中配置使用fortran的方法


VScode中配置使用fortran的方法


VScode中配置使用fortran的方法


VScode中配置使用fortran的方法


VScode中配置使用fortran的方法


VScode中配置使用fortran的方法


VScode中配置使用fortran的方法


VScode中配置使用fortran的方法


VScode中配置使用fortran的方法


VScode中配置使用fortran的方法


VScode中配置使用fortran的方法


VScode中配置使用fortran的方法


VScode中配置使用fortran的方法


VScode中配置使用fortran的方法


VScode中配置使用fortran的方法


VScode中配置使用fortran的方法


VScode中配置使用fortran的方法


至此,VScode可以编译运行fortran语言 。
VScode的优点在于轻、小、简单,所以比较适合初学者,对于大型的复杂工程,其他的IDE其实功能更强大,当然使用也更复杂 。
到此这篇关于VScode中配置使用fortran的文章就介绍到这了,更多相关VScode配置fortran内容请搜索趣讯吧以前的文章或继续浏览下面的相关文章希望大家以后多多支持趣讯吧!

    推荐阅读