Fortran Programming

 

Resume
Research
Publication
Courses
Gallery

bullet

Course name and ID: Computer Programming (504 10300)

bullet

Introduction: This is an introductory course of computer programming with Fortran. We will cover basic Fortran constructs including variables and their types,  flow control statements, I/O statements, the concept of structure programming and its implementation with subprograms. We will focus on Fortran 77 and introduce additional constructs in Fortran 90 if time allows. We will also the programming style and basic software engineering disciplines. Extensive programming exercises will be given to ensure the understanding of the material taught in lectures.

bullet

Instructor : Pangfeng Liu

bullet

Textbook: "Fortran" (5th ed.), by E. Koffman and F. Friedman, Addison-Wesley, ISBN 0-201-59062.

bullet

Lectures: Thursday 1 to 3 pm at 普201.

bullet

Lab sessions: Wednesday 1 to 2, or 2 to 3pm. at 資訊223-1R.

bullet

TA: Ms. 洪仕馨.

bullet

化工系309室分散相實驗室

bullet

Phone: 02-23630231-2186

bullet

Email: star@309exp4.che.ntu.edu.tw

bullet

Workload: There will be a midterm, a final examination and weekly or bi-weekly programming assignments. 

bullet

期末考通知

bullet

黑白棋作業的繳交截止日為1月21日下午五點前

bullet

作業公告事項

bullet

期中考解答

bullet

homework 1-10 and midterm exam grades

bullet

Some games that you might be interested.

bullet

猜單字 Hangman

bullet

黑白棋 Othello

bullet

Example codes

bullet

days.f factor.f newfactor.f newton.f test.f  

bullet

daysbyfunction.f tem.f fab.f diff.f

bullet

TESTARRAY.F TESTINPUT.F TESTINPUT-2.F

bullet

vector.f VECTOR-WITH-DATA.F DAYSBYUNCTION-WITH-DATA.F

bullet

columnmajor.fguess.fmatrix.ftestmuld.fTESTMULD-MOD.F

bullet

life.f common. common-2.f GUESS-WITH-COMMON.F LIFE-COMMON.F sort.f

bullet

words.txt

bullet

TESTTIME.F TESTREAD.F READAFILE.F STAT.F

bullet

hm.f

bullet

reversi.f

bullet

REVERSI-GAME.F

bullet

Lecture Notes

bullet

Lecture Note 1

bullet

Lecture Note 2

bullet

Lecture Note 3

bullet

Lecture Note 4

bullet

Lecture Note 5

bullet

Lecture Note 6

bullet

Lecture Note 7

bullet

Lecture Note 8

bullet

Lecture Note 9

bullet

Lecture Note 10 (about format)

bullet

助教上課內容 0102.zip  1226.zip

bullet

A GNU source level debugger -- gdb418b.zip.

bullet

A Turbo-Pasca- like IDE for DJGPP -- rhide14b.zip.

bullet

A information viewer -- txi312b.zip.

bullet

FORTRAN Compiler installation (DJGPP)

bullet

Download the six files from here (李學養教授網頁)

bnu27b.zip
csdpmi3b.zip
djdev201.zip
djgpphelp.zip
g770519b.zip
gcc2721b.zip

bullet

在C:中開啟新資料夾 \djgpp, 將上述六個檔案解壓縮至該目錄下

bullet

在autoexec.bat中編輯
SET PATH=C:\DJGPP\BIN;%PATH%
SET DJGPP=C:\DJGPP\DJGPP.ENV

bullet

Reboot