|
@@ -138,7 +138,7 @@ The **frequency of occurrence** is defined as the ratio of times that a digit ap
|
138
|
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
|
|
-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.
|
|
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.
|
142
|
142
|
|
143
|
143
|
```
|
144
|
144
|
Tomas 34
|