diff options
| author | Taylor Rogers <[email protected]> | 2022-10-02 08:49:42 -0700 |
|---|---|---|
| committer | Taylor Rogers <[email protected]> | 2022-10-02 08:49:42 -0700 |
| commit | 1d509d67725a3fe1e8ad24de95b4ba922b7df52a (patch) | |
| tree | cdd071e9d70367e00dfcd345a8b7cd807f95a5c5 | |
| parent | Finishing exercise 1 (diff) | |
| download | cst116-lab0-debugging-taylorrog-1d509d67725a3fe1e8ad24de95b4ba922b7df52a.tar.xz cst116-lab0-debugging-taylorrog-1d509d67725a3fe1e8ad24de95b4ba922b7df52a.zip | |
Exercise 2 partial
| -rw-r--r-- | Ch 5 Debugging Project/Ch 5 Debugging Project.cpp | 8 | ||||
| -rw-r--r-- | Ch 5 Debugging Project/Debug/Ch 5 Deb.57683855.tlog/link.read.1.tlog | bin | 7426 -> 7202 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 | 522840 -> 531576 bytes | |||
| -rw-r--r-- | Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.obj | bin | 82795 -> 82795 bytes | |||
| -rw-r--r-- | Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.pdb | bin | 1953792 -> 1986560 bytes |
6 files changed, 7 insertions, 1 deletions
diff --git a/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp b/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp index 0ab1db3..895c887 100644 --- a/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp +++ b/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp @@ -48,7 +48,13 @@ * 5) Notice that the current line of execution is now at the
* calculation.
* 6) Look at your watch. What is the value of money?
+*
+* 123.449997
+*
* 7) Hover your mouse pointer over raise. What is its value?
+*
+* 0.100000001
+*
* 8) Step over the calculation. Notice the watch on money is now
* red. This designates that the variable just changed its value.
* 9) What happened to our money? I thought a raise was supposed
@@ -88,7 +94,7 @@ int main() money = money * raise;
- cout << "After your raise you have $";
+c cout << "After your raise you have $";
cout << money << endl;
return 0;
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 f996d4c..9549cb2 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 a97bfe2..90fd275 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 9647b59..6e919ff 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 4701a9b..31e67c6 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 4f18726..3693ecd 100644 --- a/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.pdb +++ b/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.pdb |