diff options
Diffstat (limited to 'Ch 5 Debugging Project')
| -rw-r--r-- | Ch 5 Debugging Project/CST116-Lab0-Traver-Pseudo-Code | 3 | ||||
| -rw-r--r-- | Ch 5 Debugging Project/Ch 5 Debugging Project.cpp | 7 | ||||
| -rw-r--r-- | Ch 5 Debugging Project/Debug/Ch 5 Deb.57683855.tlog/link.read.1.tlog | bin | 7082 -> 7306 bytes | |||
| -rw-r--r-- | Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.exe | bin | 54272 -> 54272 bytes | |||
| -rw-r--r-- | Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.ilk | bin | 534704 -> 544104 bytes | |||
| -rw-r--r-- | Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.obj | bin | 84749 -> 85097 bytes | |||
| -rw-r--r-- | Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.pdb | bin | 2093056 -> 2134016 bytes | |||
| -rw-r--r-- | Ch 5 Debugging Project/Debug/vc143.idb | bin | 175104 -> 175104 bytes | |||
| -rw-r--r-- | Ch 5 Debugging Project/Debug/vc143.pdb | bin | 462848 -> 462848 bytes |
9 files changed, 7 insertions, 3 deletions
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 |