diff options
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp | 4 | ||||
| -rw-r--r-- | Chap_11_Report.txt | 17 |
3 files changed, 20 insertions, 3 deletions
@@ -16,7 +16,7 @@ # Mono auto generated files mono_crash.* -../a.out +a.out # Build results [Dd]ebug/ diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp index 0e8fe34..84e77eb 100644 --- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp +++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp @@ -88,9 +88,9 @@ int main() ifstream inFile; // Notice how this automatically opens the file - ofstream outFile("../Chap_11_Report.txt"); + ofstream outFile("Chap_11_Report.txt"); - inFile.open("../Chap_11_data.txt"); + inFile.open("Chap_11_data.txt"); if (inFile.is_open()) { diff --git a/Chap_11_Report.txt b/Chap_11_Report.txt new file mode 100644 index 0000000..c17cff1 --- /dev/null +++ b/Chap_11_Report.txt @@ -0,0 +1,17 @@ + Here is the Output File +John 19 +Molly 23 +Tim 48 +Keil 42 +Trinh 21 +Anthony 25 +Kevin 27 +Cheryl 32 +Kim 16 +Dave 25 +Will 34 + 13975552 + + + ** Total Records: 11 ** + The End |