summaryrefslogtreecommitdiff
path: root/CST116-Ch11-Debugging
diff options
context:
space:
mode:
authoralexandra-apetroaei <andra@MSI>2022-11-08 17:48:37 -0800
committeralexandra-apetroaei <andra@MSI>2022-11-08 17:48:37 -0800
commita7421b06ea82d084e134551736cdc3591faaa730 (patch)
tree30e7ca522a842f4fac8a315c3873af371c4179eb /CST116-Ch11-Debugging
parentfinal resutl (diff)
downloadcst116-ch11-debugging-alexandra-apetroaei-master.tar.xz
cst116-ch11-debugging-alexandra-apetroaei-master.zip
Diffstat (limited to 'CST116-Ch11-Debugging')
-rw-r--r--CST116-Ch11-Debugging/CST116-Ch11-Debugging-Apetroaei.cpp4
-rw-r--r--CST116-Ch11-Debugging/CST116-Ch11-Debugging.sln31
-rw-r--r--CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj2
-rw-r--r--CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters2
-rw-r--r--CST116-Ch11-Debugging/TEMP/names_1.txt11
5 files changed, 46 insertions, 4 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/CST116-Ch11-Debugging/TEMP/names_1.txt b/CST116-Ch11-Debugging/TEMP/names_1.txt
new file mode 100644
index 0000000..5f0b188
--- /dev/null
+++ b/CST116-Ch11-Debugging/TEMP/names_1.txt
@@ -0,0 +1,11 @@
+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