aboutsummaryrefslogtreecommitdiff
path: root/Ch 5 Debugging Project
diff options
context:
space:
mode:
Diffstat (limited to 'Ch 5 Debugging Project')
-rw-r--r--Ch 5 Debugging Project/CST116-Lab0-Traver-Pseudo-Code3
-rw-r--r--Ch 5 Debugging Project/Ch 5 Debugging Project.cpp7
-rw-r--r--Ch 5 Debugging Project/Debug/Ch 5 Deb.57683855.tlog/link.read.1.tlogbin7082 -> 7306 bytes
-rw-r--r--Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.exebin54272 -> 54272 bytes
-rw-r--r--Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.ilkbin534704 -> 544104 bytes
-rw-r--r--Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.objbin84749 -> 85097 bytes
-rw-r--r--Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.pdbbin2093056 -> 2134016 bytes
-rw-r--r--Ch 5 Debugging Project/Debug/vc143.idbbin175104 -> 175104 bytes
-rw-r--r--Ch 5 Debugging Project/Debug/vc143.pdbbin462848 -> 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
index 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
Binary files differ
diff --git a/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.exe b/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.exe
index 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
Binary files differ
diff --git a/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.ilk b/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.ilk
index 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
Binary files differ
diff --git a/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.obj b/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.obj
index 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
Binary files differ
diff --git a/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.pdb b/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.pdb
index 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
Binary files differ
diff --git a/Ch 5 Debugging Project/Debug/vc143.idb b/Ch 5 Debugging Project/Debug/vc143.idb
index 5f974ec..3ff66d2 100644
--- a/Ch 5 Debugging Project/Debug/vc143.idb
+++ b/Ch 5 Debugging Project/Debug/vc143.idb
Binary files differ
diff --git a/Ch 5 Debugging Project/Debug/vc143.pdb b/Ch 5 Debugging Project/Debug/vc143.pdb
index 2799a90..62456f4 100644
--- a/Ch 5 Debugging Project/Debug/vc143.pdb
+++ b/Ch 5 Debugging Project/Debug/vc143.pdb
Binary files differ