aboutsummaryrefslogtreecommitdiff
path: root/CST116F2021-Lab9/CST116F2021-Lab9.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CST116F2021-Lab9/CST116F2021-Lab9.cpp')
-rw-r--r--CST116F2021-Lab9/CST116F2021-Lab9.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/CST116F2021-Lab9/CST116F2021-Lab9.cpp b/CST116F2021-Lab9/CST116F2021-Lab9.cpp
index 22d608b..f702601 100644
--- a/CST116F2021-Lab9/CST116F2021-Lab9.cpp
+++ b/CST116F2021-Lab9/CST116F2021-Lab9.cpp
@@ -372,7 +372,7 @@ void swapDataArray(string dataArray[4][MV_3], int meta[MV_3], int &entries)
}
}
-//Fills a metadata array with relevant data
+//Fills a metadata array with position data and ASCII values of the first char (made upercase) of the last names
void populateMetaData(int meta[2][MV_3], string dataAray[4][MV_3], int entries)
{
for (int idx = 0; idx <= entries; idx++)
@@ -382,7 +382,7 @@ void populateMetaData(int meta[2][MV_3], string dataAray[4][MV_3], int entries)
}
}
-//Opens a file at the provied path, the enters its contents into an array. Returns false if there is an I/O error.
+//Opens a file at the provied path, the enters its contents into an array. Returns false if there is an I/O error
bool populateDataArray(string fileLoc, string dataArray[4][MV_3], int& numEntries)
{
ifstream inputFile;