diff options
| author | jacobdw22 <[email protected]> | 2022-10-29 14:15:05 -0700 |
|---|---|---|
| committer | jacobdw22 <[email protected]> | 2022-10-29 14:15:05 -0700 |
| commit | b46bdfce6718e8ff9fa415a264941edd961145d6 (patch) | |
| tree | d7987bd3d4f048e1a589d3b1ad190f8894e59f61 | |
| parent | Added name, course, date, and title to the top of the file. (diff) | |
| download | cst116-ch11-debugging-jacobdw22-b46bdfce6718e8ff9fa415a264941edd961145d6.tar.xz cst116-ch11-debugging-jacobdw22-b46bdfce6718e8ff9fa415a264941edd961145d6.zip | |
Changed file name in code to TEMP1 rather than TEMP
| -rw-r--r-- | CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp | 4 | ||||
| -rw-r--r-- | CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj | 3 | ||||
| -rw-r--r-- | CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters | 3 | ||||
| -rw-r--r-- | Chap_11_data.txt | 11 |
4 files changed, 8 insertions, 13 deletions
diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp index ea37b31..974355d 100644 --- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp +++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp @@ -82,9 +82,9 @@ int main() ifstream inFile; // Notice how this automatically opens the file - ofstream outFile("C:\\TEMP\\Chap_11_Report.txt"); + ofstream outFile("C:\\TEMP1\\Chap_11_Report.txt"); - inFile.open("C:\\TEMP\\Chap_11_data.txt"); + inFile.open("C:\\TEMP1\\Chap_11_data.txt"); if (inFile.is_open()) { diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj index 2073e5b..c639477 100644 --- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj +++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj @@ -129,6 +129,9 @@ <ItemGroup> <ClCompile Include="CST116-Ch11-Debugging.cpp" /> </ItemGroup> + <ItemGroup> + <Text Include="..\..\..\..\..\..\TEMP1\Chap_11_data.txt" /> + </ItemGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <ImportGroup Label="ExtensionTargets"> </ImportGroup> diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters index 2029dc7..b7a469c 100644 --- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters +++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters @@ -19,4 +19,7 @@ <Filter>Source Files</Filter> </ClCompile> </ItemGroup> + <ItemGroup> + <Text Include="..\..\..\..\..\..\TEMP1\Chap_11_data.txt" /> + </ItemGroup> </Project>
\ No newline at end of file diff --git a/Chap_11_data.txt b/Chap_11_data.txt deleted file mode 100644 index e4083f4..0000000 --- a/Chap_11_data.txt +++ /dev/null @@ -1,11 +0,0 @@ -John 19
-Molly 23
-Tim 48
-Keil 42
-Trinh 21
-Anthony 25
-Kevin 27
-Cheryl 32
-Kim 16
-Dave 25
-Will 34
|