aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch9-Debugging
diff options
context:
space:
mode:
authorCEOofOogaBooga <[email protected]>2022-10-18 19:02:29 -0700
committerCEOofOogaBooga <[email protected]>2022-10-18 19:02:29 -0700
commit1e8c3fb347008a05fe57afc8fd920df395b8390c (patch)
tree6b764a683081d952bd962777fb8455a5e12409fb /CST116-Ch9-Debugging
parentSetting up GitHub Classroom Feedback (diff)
downloadcst116-ch9-debugging--trinh--1e8c3fb347008a05fe57afc8fd920df395b8390c.tar.xz
cst116-ch9-debugging--trinh--1e8c3fb347008a05fe57afc8fd920df395b8390c.zip
Start of Lab 1
Diffstat (limited to 'CST116-Ch9-Debugging')
-rw-r--r--CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp b/CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp
index eff8980..f78a1b6 100644
--- a/CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp
+++ b/CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp
@@ -1,6 +1,9 @@
/********************************************************************
* File: CST116-Ch9-Debugging.cpp
-*
+* Thomas Trinh
+* CST116
+* Chp 9 Call by Value and Reference
+*
* General Instructions: Complete each step before proceeding to the
* next.
*
@@ -11,11 +14,12 @@
* 3) Place a watch on age and days.
* 4) Add another watch using &age for the name. This will display
* the address of age.
-* 5) Write down the address of age.
+* 5) Write down the address of age. 0x000000129e52f7c4(0)
* 6) Step Into the code for the function GetAge.
* 7) The execution continues to the function header for GetAge.
* 8) Step into one more time.
-* 9) Why did the address of age and value change?
+* 9) Why did the address of age and value change?
+* E
* 10) Step over the cout and cin statements.
* 11) Verify the value entered is stored properly in age.
* 12) Step into until the flow returns to main.