diff options
| author | Joe Traver <[email protected]> | 2022-10-05 21:57:19 -0700 |
|---|---|---|
| committer | Joe Traver <[email protected]> | 2022-10-05 21:57:19 -0700 |
| commit | 5d7daeafe09e3298d3e5ceea04f17b2bde340827 (patch) | |
| tree | 5ad51cb3f7f062fb0a5016a6b6aa5a1d03bbebf3 | |
| parent | Final Psuedo Code (diff) | |
| download | cst116-lab0-debugging-joetraver30-5d7daeafe09e3298d3e5ceea04f17b2bde340827.tar.xz cst116-lab0-debugging-joetraver30-5d7daeafe09e3298d3e5ceea04f17b2bde340827.zip | |
Edited the raise calculation
16 files changed, 30 insertions, 5 deletions
diff --git a/.vs/ProjectSettings.json b/.vs/ProjectSettings.json index 0cf5ea5..38c5f00 100644 --- a/.vs/ProjectSettings.json +++ b/.vs/ProjectSettings.json @@ -1,3 +1,3 @@ { - "CurrentProjectSetting": "No Configurations" + "CurrentProjectSetting": "x86-Debug" }
\ No newline at end of file diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json index d265bff..216690d 100644 --- a/.vs/VSWorkspaceState.json +++ b/.vs/VSWorkspaceState.json @@ -3,6 +3,6 @@ "", "\\Ch 5 Debugging Project" ], - "SelectedNode": "\\Ch 5 Debugging Project\\Push Check List.txt", + "SelectedNode": "\\Ch 5 Debugging Project\\Ch 5 Debugging Project.cpp", "PreviewInSolutionExplorer": false }
\ No newline at end of file diff --git a/.vs/cst116-lab0-debugging-joetraver30/v17/.suo b/.vs/cst116-lab0-debugging-joetraver30/v17/.suo Binary files differindex ea0d552..7895775 100644 --- a/.vs/cst116-lab0-debugging-joetraver30/v17/.suo +++ b/.vs/cst116-lab0-debugging-joetraver30/v17/.suo diff --git a/.vs/cst116-lab0-debugging-joetraver30/v17/Browse.VC.db b/.vs/cst116-lab0-debugging-joetraver30/v17/Browse.VC.db Binary files differindex b62cf07..cb9f00a 100644 --- a/.vs/cst116-lab0-debugging-joetraver30/v17/Browse.VC.db +++ b/.vs/cst116-lab0-debugging-joetraver30/v17/Browse.VC.db diff --git a/.vs/cst116-lab0-debugging-joetraver30/v17/ipch/AutoPCH/376411d6bae006a4/CH 5 DEBUGGING PROJECT.ipch b/.vs/cst116-lab0-debugging-joetraver30/v17/ipch/AutoPCH/376411d6bae006a4/CH 5 DEBUGGING PROJECT.ipch Binary files differindex 461afd5..165bb25 100644 --- a/.vs/cst116-lab0-debugging-joetraver30/v17/ipch/AutoPCH/376411d6bae006a4/CH 5 DEBUGGING PROJECT.ipch +++ b/.vs/cst116-lab0-debugging-joetraver30/v17/ipch/AutoPCH/376411d6bae006a4/CH 5 DEBUGGING PROJECT.ipch diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite Binary files differindex 97bd979..b532302 100644 --- a/.vs/slnx.sqlite +++ b/.vs/slnx.sqlite diff --git a/Ch 5 Debugging Project/CST116-Lab0-Traver-Pseudo-Code b/Ch 5 Debugging Project/CST116-Lab0-Traver-Pseudo-Code index 5c93e8b..a0d0e52 100644 --- a/Ch 5 Debugging Project/CST116-Lab0-Traver-Pseudo-Code +++ b/Ch 5 Debugging Project/CST116-Lab0-Traver-Pseudo-Code @@ -17,5 +17,4 @@ money = money * raise print: "After your raise you have $" - -output = money + output = money diff --git a/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp b/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp index 2971ee8..155ec35 100644 --- a/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp +++ b/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp @@ -18,6 +18,9 @@ * the current line being that cout statement, Step Into again.
* 6) What happened? Where are we now? What is all of this nasty
* looking code?
+*
+* -Background code routine that will execute the display-
+*
* 7) Remember, stepping into a predefined routine takes you to the
* code for that routine. If the debugger can't find the code it
* will show the assembly code for that routine.
@@ -83,7 +86,9 @@ int main() cout << "Enter percent raise: ";
cin >> raise;
- money = money * raise;
+ raise = raise * .01;
+
+ money = money * (1+raise);
cout << "After your raise you have $";
cout << money << endl;
diff --git a/Ch 5 Debugging Project/Debug/Ch 5 Deb.57683855.tlog/link.read.1.tlog b/Ch 5 Debugging Project/Debug/Ch 5 Deb.57683855.tlog/link.read.1.tlog Binary files differindex 486e80a..d1bd811 100644 --- a/Ch 5 Debugging Project/Debug/Ch 5 Deb.57683855.tlog/link.read.1.tlog +++ b/Ch 5 Debugging Project/Debug/Ch 5 Deb.57683855.tlog/link.read.1.tlog diff --git a/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.exe b/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.exe Binary files differindex 0224882..7997b6b 100644 --- a/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.exe +++ b/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.exe diff --git a/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.ilk b/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.ilk Binary files differindex 72184e1..1837a1d 100644 --- a/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.ilk +++ b/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.ilk diff --git a/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.obj b/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.obj Binary files differindex 21dc9fd..e793c68 100644 --- a/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.obj +++ b/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.obj diff --git a/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.pdb b/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.pdb Binary files differindex 381a37f..170c1e9 100644 --- a/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.pdb +++ b/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.pdb diff --git a/Ch 5 Debugging Project/Debug/vc143.idb b/Ch 5 Debugging Project/Debug/vc143.idb Binary files differindex 5f974ec..3ff66d2 100644 --- a/Ch 5 Debugging Project/Debug/vc143.idb +++ b/Ch 5 Debugging Project/Debug/vc143.idb diff --git a/Ch 5 Debugging Project/Debug/vc143.pdb b/Ch 5 Debugging Project/Debug/vc143.pdb Binary files differindex 2799a90..62456f4 100644 --- a/Ch 5 Debugging Project/Debug/vc143.pdb +++ b/Ch 5 Debugging Project/Debug/vc143.pdb diff --git a/CppProperties.json b/CppProperties.json new file mode 100644 index 0000000..659bf4e --- /dev/null +++ b/CppProperties.json @@ -0,0 +1,21 @@ +{ + "configurations": [ + { + "inheritEnvironments": [ + "msvc_x86" + ], + "name": "x86-Debug", + "includePath": [ + "${env.INCLUDE}", + "${workspaceRoot}\\**" + ], + "defines": [ + "WIN32", + "_DEBUG", + "UNICODE", + "_UNICODE" + ], + "intelliSenseMode": "windows-msvc-x86" + } + ] +}
\ No newline at end of file |