Skip to main content

7.1) Input Data Variations


I’ll say a bit more about input data since if you get it wrong it can be frustrating and seemingly mysterious to solve.

Say I want to read in three values from file called input.dat into a program and assign the values to variables a, b, and c. I’ll show you now a few things about input files that you have to be careful of.

Turn the page and learn more.