From e3a548321784429e3a2dc0bbf2de7fccf13da001 Mon Sep 17 00:00:00 2001 From: Bold Demchig Date: Wed, 2 Nov 2022 20:55:52 -0700 Subject: Hello Professor Martha, I had to push my Midterm Exam here. I could not get into Canvas.! --- CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp') diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp index 53830da..afcde83 100644 --- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp +++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp @@ -68,8 +68,7 @@ const int EMPLOYEES = 20; const int MAX = 21; int ReadData(ifstream& inFile, ofstream& outFile, char name[][MAX], int age[]); -void WriteOutputFile(ofstream& outFile, char name[][MAX], int age[], - int counter); +void WriteOutputFile(ofstream& outFile, char name[][MAX], int age[], int counter); void PrintTotalsAndSummary(ofstream& out, int totalRecords); int main() @@ -81,9 +80,9 @@ int main() ifstream inFile; // Notice how this automatically opens the file - ofstream outFile("C:\\TEMP\\Chap_11_Report.txt"); + ofstream outFile("C:\TEMP\Chap_11_Report.txt"); - inFile.open("C:\\TEMP\\Chap_11_data.txt"); + inFile.open("C:\TEMP\Chap_11_data.txt"); if (inFile.is_open()) { -- cgit v1.2.3