diff options
| author | alexandra-apetroaei <andra@MSI> | 2022-11-08 17:48:37 -0800 |
|---|---|---|
| committer | alexandra-apetroaei <andra@MSI> | 2022-11-08 17:48:37 -0800 |
| commit | a7421b06ea82d084e134551736cdc3591faaa730 (patch) | |
| tree | 30e7ca522a842f4fac8a315c3873af371c4179eb | |
| parent | final resutl (diff) | |
| download | cst116-ch11-debugging-alexandra-apetroaei-a7421b06ea82d084e134551736cdc3591faaa730.tar.xz cst116-ch11-debugging-alexandra-apetroaei-a7421b06ea82d084e134551736cdc3591faaa730.zip | |
| -rw-r--r-- | CST116-Ch11-Debugging/CST116-Ch11-Debugging-Apetroaei.cpp | 4 | ||||
| -rw-r--r-- | CST116-Ch11-Debugging/CST116-Ch11-Debugging.sln | 31 | ||||
| -rw-r--r-- | CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj | 2 | ||||
| -rw-r--r-- | CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters | 2 | ||||
| -rw-r--r-- | CST116-Ch11-Debugging/TEMP/names_1.txt (renamed from TEMP/Chap_11_Report.txt) | 0 | ||||
| -rw-r--r-- | TEMP/Chap_11_data.txt | 11 | ||||
| -rw-r--r-- | TEMP/John_19.txt | 11 | ||||
| -rw-r--r-- | TEMP/names.txt | 11 | ||||
| -rw-r--r-- | TEMP/psuedocode.txt | 6 |
9 files changed, 35 insertions, 43 deletions
diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging-Apetroaei.cpp b/CST116-Ch11-Debugging/CST116-Ch11-Debugging-Apetroaei.cpp index f1212c3..f094b54 100644 --- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging-Apetroaei.cpp +++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging-Apetroaei.cpp @@ -85,9 +85,9 @@ int main() ifstream inFile; // Notice how this automatically opens the file - ofstream outFile("C:\\TEMP\\names.txt"); + ofstream outFile("C:\\TEMP\\Chap_11_data.txt"); - inFile.open("C:\\TEMP\\names.txt"); + inFile.open("C:\\TEMP\\names_1.txt"); if (inFile.is_open()) diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.sln b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.sln new file mode 100644 index 0000000..f71ac42 --- /dev/null +++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.3.32929.385 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CST116-Ch11-Debugging", "CST116-Ch11-Debugging\CST116-Ch11-Debugging.vcxproj", "{2F33289E-7D00-4EC4-9951-F3DB9CD7C178}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {2F33289E-7D00-4EC4-9951-F3DB9CD7C178}.Debug|x64.ActiveCfg = Debug|x64 + {2F33289E-7D00-4EC4-9951-F3DB9CD7C178}.Debug|x64.Build.0 = Debug|x64 + {2F33289E-7D00-4EC4-9951-F3DB9CD7C178}.Debug|x86.ActiveCfg = Debug|Win32 + {2F33289E-7D00-4EC4-9951-F3DB9CD7C178}.Debug|x86.Build.0 = Debug|Win32 + {2F33289E-7D00-4EC4-9951-F3DB9CD7C178}.Release|x64.ActiveCfg = Release|x64 + {2F33289E-7D00-4EC4-9951-F3DB9CD7C178}.Release|x64.Build.0 = Release|x64 + {2F33289E-7D00-4EC4-9951-F3DB9CD7C178}.Release|x86.ActiveCfg = Release|Win32 + {2F33289E-7D00-4EC4-9951-F3DB9CD7C178}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {FCD03735-5147-4097-A902-410E5803675C} + EndGlobalSection +EndGlobal diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj index 0cbd5a6..a8cef9a 100644 --- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj +++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj @@ -130,7 +130,7 @@ <ClCompile Include="CST116-Ch11-Debugging.cpp" /> </ItemGroup> <ItemGroup> - <Text Include="..\TEMP\names.txt" /> + <Text Include="TEMP\names_1.txt" /> </ItemGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <ImportGroup Label="ExtensionTargets"> diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters index 43b6186..6c62bf8 100644 --- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters +++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters @@ -20,6 +20,6 @@ </ClCompile> </ItemGroup> <ItemGroup> - <Text Include="..\TEMP\names.txt" /> + <Text Include="TEMP\names_1.txt" /> </ItemGroup> </Project>
\ No newline at end of file diff --git a/TEMP/Chap_11_Report.txt b/CST116-Ch11-Debugging/TEMP/names_1.txt index 5f0b188..5f0b188 100644 --- a/TEMP/Chap_11_Report.txt +++ b/CST116-Ch11-Debugging/TEMP/names_1.txt diff --git a/TEMP/Chap_11_data.txt b/TEMP/Chap_11_data.txt deleted file mode 100644 index 5f0b188..0000000 --- a/TEMP/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
\ No newline at end of file diff --git a/TEMP/John_19.txt b/TEMP/John_19.txt deleted file mode 100644 index 5f0b188..0000000 --- a/TEMP/John_19.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
\ No newline at end of file diff --git a/TEMP/names.txt b/TEMP/names.txt deleted file mode 100644 index f727fb1..0000000 --- a/TEMP/names.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 diff --git a/TEMP/psuedocode.txt b/TEMP/psuedocode.txt deleted file mode 100644 index 2983b7e..0000000 --- a/TEMP/psuedocode.txt +++ /dev/null @@ -1,6 +0,0 @@ -Read in variable employees and assign the value 20 -Read in variable empoyee name -Read in variable age - -Make a file and input it to the program -Display total records to the user
\ No newline at end of file |