|
@@ -135,7 +135,7 @@ The **frequency of occurrence** is defined as the ratio of times that a digit ap
|
135
|
135
|
|
136
|
136
|
## Reading data from text files in C++
|
137
|
137
|
|
138
|
|
-This laboratory experience requires you to read data from a text file. You can skip the next section if you feel that your file reading skills are competent. Otherwise, read on...
|
|
138
|
+In this laboratory experience, you will create a program that reads data from a text file. You can skip the next section if you feel that your file reading skills are competent. Otherwise, read on...
|
139
|
139
|
|
140
|
140
|
|
141
|
141
|
C++ provides functions to read and write data to/from files. In this laboratory experience, you will be using one of the most rudimentary file input/output schemes provided in C++ to read/write from **text** files. Text files consist exclusively of ASCII characters which represent data in any of the primitive types provided by C++. Typically, the values are separated by spaces. For instance, let's assume that the file `nameAge.txt` contains some data about names and ages.
|