From 8b955127c86936b7243d4d8ad27ba35fa6b3d622 Mon Sep 17 00:00:00 2001 From: prestonderek Date: Sat, 19 Nov 2022 22:06:16 -0800 Subject: Comments --- BlankConsoleLab/BlankConsoleLab.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'BlankConsoleLab/BlankConsoleLab.cpp') 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:"; -- cgit v1.2.3