> ## Content Index
> Fetch the complete content index at: https://yinguobing.com/blog/llms.txt
> Use this file to discover other available public pages before exploring further.

# 为 FORTRAN 程序添加 GUI 界面
- URL: https://yinguobing.com/blog/build-gui-with-fortran/
- Published: 2011-10-07T17:25:09.000Z
- Updated: 2022-05-29T05:49:46.000Z
- Description: fortran语言偏重于数值计算，用来做 GUI 并不是它的强项。大家可以根据自己的实际情况进行取舍。
- Author: 尹国冰
- Tags: 燕山大学, 新手入门

该文于 2010 年发布于实验室内部网站。

---

Fortran程序添加GUI有多种方式，但是最主要的有两种，分别是 QUICK WIN 与 Windows 应用程序。其中 windows 应用程序有着我们最熟悉的界面样式，但是由于它调用了大量的 windows API，对系统的依赖性也随之上升。另外，fortran语言偏重于数值计算，用来做 GUI 并不是它的强项。大家可以根据自己的实际情况进行取舍。

![](https://yinguobing.com/blog/content/images/2011/10/fortran.jpg "fortran")

这里给出一个有效折射率程序的GUI界面，包含了所有的源代码，[点此下载](http://192.168.0.120/?attachment%5Fid=1114&ref=yinguobing.com)。开发环境为 visual studio 2010 和 intel visual fortran 2011。