summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprestonderek <[email protected]>2022-11-01 19:33:53 -0700
committerprestonderek <[email protected]>2022-11-01 19:33:53 -0700
commit7863fd7c1fb06634632ce9a45e2f5c1f152c89b7 (patch)
tree60feb1e2e72846adf689919bfcc5fd7f22e26980
parentChanged cout statements for error codes (diff)
downloadcst116-ch11-debugging-prestonderek-7863fd7c1fb06634632ce9a45e2f5c1f152c89b7.tar.xz
cst116-ch11-debugging-prestonderek-7863fd7c1fb06634632ce9a45e2f5c1f152c89b7.zip
Commit for ending of checking error messages
-rw-r--r--CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
index eb38792..25a5632 100644
--- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
+++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
@@ -86,7 +86,7 @@ int main()
//inFile.open("C:\\TEMP\\Chap_11_data.txt");
ofstream outFile("C:\\temp\\Chap_11_Report.txt");
- inFile.open("C:\\Users\\pres\\source\\repos\\cst116-ch11-debugging-prestonderek\\Debug11File1.txt");
+ inFile.open("C:\\Users\\prest\\source\\repos\\cst116-ch11-debugging-prestonderek\\Debug11File1.txt");
if (inFile.is_open())
{
@@ -101,13 +101,13 @@ int main()
}
else
{
- cout << "Trouble Opening Input File";
+ cout << "Trouble Opening Output File";
cout << "\n\n\t\t ** About to EXIT NOW! ** ";
}
}
else
{
- cout << "Trouble Opening Output File";
+ cout << "Trouble Opening Input File";
cout << "\n\n\t\t ** About to EXIT NOW! ** ";
}
return 0;