aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Pearse <[email protected]>2022-10-01 13:10:47 -0700
committerTim Pearse <[email protected]>2022-10-01 13:10:47 -0700
commitcdac3a2b668d5083f732b91476bf6d48089e15c4 (patch)
treeb1067f7f806b6dbff0505ff2ddc70d4326e65452
parentAdded a breakpoint to line 76. (diff)
downloadcst116-lab0-debugging-legokid1503-cdac3a2b668d5083f732b91476bf6d48089e15c4.tar.xz
cst116-lab0-debugging-legokid1503-cdac3a2b668d5083f732b91476bf6d48089e15c4.zip
Added a breakpoint on line 76
-rw-r--r--Ch 5 Debugging Project/Ch 5 Debugging Project.cpp1
-rw-r--r--Ch 5 Debugging Project/Ch 5 Debugging Project.vcxproj8
2 files changed, 5 insertions, 4 deletions
diff --git a/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp b/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp
index 6545e9b..94c54e1 100644
--- a/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp
+++ b/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp
@@ -74,6 +74,7 @@ int main()
// Breakpoint 1
// Put a breakpoint on the following line
cout << "Enter percent raise: ";
+
cin >> raise;
money = money * raise;
diff --git a/Ch 5 Debugging Project/Ch 5 Debugging Project.vcxproj b/Ch 5 Debugging Project/Ch 5 Debugging Project.vcxproj
index b6da2fe..97611d8 100644
--- a/Ch 5 Debugging Project/Ch 5 Debugging Project.vcxproj
+++ b/Ch 5 Debugging Project/Ch 5 Debugging Project.vcxproj
@@ -29,26 +29,26 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
- <PlatformToolset>v142</PlatformToolset>
+ <PlatformToolset>v143</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
- <PlatformToolset>v142</PlatformToolset>
+ <PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
- <PlatformToolset>v142</PlatformToolset>
+ <PlatformToolset>v143</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
- <PlatformToolset>v142</PlatformToolset>
+ <PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>