Fortran

Guide To Learn

Tutorial

Data Types

Fortran provides five intrinsic data types, however, you can derive your own data types as well. The five intrinsic types are − Integer Type The integer types can hold only integer values. The following example extracts the largest value that can be held in a usual four byte integer − When you compile and execute […]

Basic Syntax

A Fortran program is made of a collection of program units like a main program, modules, and external subprograms or procedures. Each program contains one main program and may or may not contain other program units. The syntax of the main program is as follows − A Simple Program in Fortran Let’s write a program […]

Environment Setup

Setting up Fortran in Windows G95 is the GNU Fortran multi-architechtural compiler, used for setting up Fortran in Windows. The windows version emulates a unix environment using MingW under windows. The installer takes care of this and automatically adds g95 to the windows PATH variable. You can get the stable version of G95 from here How […]

Overview

Fortran, as derived from Formula Translating System, is a general-purpose, imperative programming language. It is used for numeric and scientific computing. Fortran was originally developed by IBM in the 1950s for scientific and engineering applications. Fortran ruled this programming area for a long time and became very popular for high performance computing, because. It supports […]

Scroll to top