Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

Windows 10 使用 Fortran 編程軟體:安裝編譯器、建立專案、編譯執行

編輯:Windows 10 系統介紹

在 Windows 10 上使用 Fortran 編程,需安裝 Fortran 編譯器(如 gfortran、Intel Fortran),設定為預設開發環境,建立標準 Fortran 專案檔,編寫程式碼於 main.f95,按 F9 編譯執行。

步驟概述

  1. 下載安裝 Fortran 編譯器,安裝時選擇「Set as default」設為預設環境。
  2. 開啟 IDE,選擇「Fortran Application」建立標準專案。
  3. 專案儲存後,在 main.f95 撰寫程式碼。
  4. 按 F9 編譯並執行。

編譯器安裝設定

建立 Fortran 專案

編譯執行

常用編譯器:GNU Fortran (gfortran)、Intel Fortran Compiler、Silverfrost FTN95 等。

Copyright © Windows教程網 All Rights Reserved