summaryrefslogtreecommitdiff
path: root/CST116-Ch11-Debugging
diff options
context:
space:
mode:
Diffstat (limited to 'CST116-Ch11-Debugging')
-rw-r--r--CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp4
-rw-r--r--CST116-Ch11-Debugging/data.txt3
-rw-r--r--CST116-Ch11-Debugging/report.txt3
3 files changed, 6 insertions, 4 deletions
diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
index e8e54d8..2a855bf 100644
--- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
+++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
@@ -69,8 +69,8 @@ using std::ofstream;
const int EMPLOYEES = 20;
const int MAX = 21;
-const string inPath = "dat.txt";
-const string outPath = "repor.txt";
+const string inPath = "data.txt";
+const string outPath = "report.txt";
int ReadData(ifstream& inFile, ofstream& outFile, char name[][MAX], int age[]);
void WriteOutputFile(ofstream& outFile, char name[][MAX], int age[],
diff --git a/CST116-Ch11-Debugging/data.txt b/CST116-Ch11-Debugging/data.txt
index ac11bda..71ad037 100644
--- a/CST116-Ch11-Debugging/data.txt
+++ b/CST116-Ch11-Debugging/data.txt
@@ -1,4 +1,5 @@
Gabe 6
Myles 102
Eden 32
-Barry 63 \ No newline at end of file
+Barry 63
+Martinet 42 \ No newline at end of file
diff --git a/CST116-Ch11-Debugging/report.txt b/CST116-Ch11-Debugging/report.txt
index f0ebfd7..6d24d2d 100644
--- a/CST116-Ch11-Debugging/report.txt
+++ b/CST116-Ch11-Debugging/report.txt
@@ -3,7 +3,8 @@ Gabe 6
Myles 102
Eden 32
Barry 63
+Martinet 42
- ** Total Records: 4 **
+ ** Total Records: 5 **
The End