In this tutorial, I will teach you how to use subroutines to do repetitive operations. I will talk about: – How to declare a subroutine – How to define the input variables – How to get the output of the subroutine inside your program Subroutines are almost like functions in fortran, except that they can […]
[Fortran Tuto 10] Formatting the print
In this tutorial, I will teach you how to format the text given by the print function I will talk about: – How to offset the data printed – How to arrange the data in several columns – How to display only a certain number of digits after the comma Enjoy ;-) -Cyprien
[Fortran Tuto 8] Handling Precision
In this tutorial, I will teach you how to use handle precision in your fortran programs. I will talk about: – What happens when you use a simple “real” variable – How to set up the precision of a variable —————————————————————————————–
[ Fortran Tuto 6] Opening and Writing Text Files
In this tutorial, I will teach you how work with text files! I will talk about: – How to read the content of a text file – How to write inside a text file Enjoy ;-) -Cyprien ————————————————————————————————————-
[Fortran Tuto 4] If endif statement
In this video, we will study: 1- How to handle a choice with an “if statement” 2- How to ask the user to enter a value and make a choice 3- How to write shorter if statements —————————————————————————
[Fortran Tuto 2] Basics about variables
This tutorial sets the basics you need to have to write Fortran programs. In this tutorial, I will teach you: – How to declare a character variable – How to ask the user to enter a value – How to get this value and print it back to the screen Enjoy ;-) -Cyprien ————————