Fortran

Originally based on an undergraduate course. Subsequently extended to more advanced Fortran.

Dr David Apsley

Schedule
Command Window - basic commands if you choose to use this in preference to an integrated development environment

Part I: Introductory Course
PART I NOTES
A First Programs;
Basic syntax
See main notes Fortran files Exercises
B Repetition (DO and DO WHILE);
Conditions (IF and CASE);
Arrays
Examples Exercises
C Character handling;
Functions and subroutines
Examples Exercises
D Advanced input/output;
Modules
Examples Exercises

Part II: Advanced Course
PART II NOTES
E User-defined types;
Interfaces;
Generic functions (overloading);
User-defined operators.
Examples Fortran files
F Advanced procedures;
Advanced arrays and characters.
Examples
G Pointers;
Data structures;
Passing procedures as arguments.
Examples
H Object-oriented Fortran. Examples

Recommended Books

Links to "Free" Fortran Compilers

Links to Other Fortran Compilers

Online Compilers

Last update: 1 November 2023