diff options
| author | prestonderek <[email protected]> | 2022-11-19 22:06:16 -0800 |
|---|---|---|
| committer | prestonderek <[email protected]> | 2022-11-19 22:06:16 -0800 |
| commit | 8b955127c86936b7243d4d8ad27ba35fa6b3d622 (patch) | |
| tree | 9b7daf67612e879f5aea99f125fe7e2baa64fc1f /BlankConsoleLab | |
| parent | Comments (diff) | |
| download | cst116-lab3-prestonderek-master.tar.xz cst116-lab3-prestonderek-master.zip | |
Diffstat (limited to 'BlankConsoleLab')
| -rw-r--r-- | BlankConsoleLab/BlankConsoleLab.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp index 3460490..43573e0 100644 --- a/BlankConsoleLab/BlankConsoleLab.cpp +++ b/BlankConsoleLab/BlankConsoleLab.cpp @@ -69,6 +69,7 @@ int ReadData(ifstream& inFile, int pickup[], int dropoff[], int psgrs[], float d inFile >> pickup[counter] >> dropoff[counter] >> psgrs[counter] >> dist[counter] >> fare[counter] >> toll[counter]; // Priming Read + //This writes the headers before the data is printed in the console. cout << setw(5) << "Pickup: "; cout << setw(10) << " Dropoff:"; cout << setw(12) << "Psgrs:"; |