diff options
| author | jacobdw22 <[email protected]> | 2022-11-28 14:45:38 -0800 |
|---|---|---|
| committer | jacobdw22 <[email protected]> | 2022-11-28 14:45:38 -0800 |
| commit | a813fe37f5dcfc8b10a901f1dab6cdcbb9e6cd57 (patch) | |
| tree | d879eb522024edfa699408cf6e8197d5bd056615 | |
| parent | Added pseudo-code file. Final changes (diff) | |
| download | cst116-ch11-debugging-jacobdw22-master.tar.xz cst116-ch11-debugging-jacobdw22-master.zip | |
| -rw-r--r-- | CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp index 868a32a..f65b5ed 100644 --- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp +++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp @@ -82,7 +82,8 @@ int main() ifstream inFile; // Notice how this automatically opens the file - ofstream outFile("C:\\TEMP1\\Chap_11_Report.txt"); + ofstream outFile; + outFile.open("C:\\TEMP1\\Chap_11_Report.txt"); inFile.open("C:\\TEMP1\\Chap_11_data.txt"); |