aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch7-Debugging
diff options
context:
space:
mode:
authorTaylor Rogers <[email protected]>2022-10-08 15:14:52 -0700
committerTaylor Rogers <[email protected]>2022-10-08 15:14:52 -0700
commit5e5143dfc8f4fa9065a9c9736344f72568bc812f (patch)
tree8dd44b37171c1d1110d942a3f5968d93bf9bf7ab /CST116-Ch7-Debugging
parentreverted changes (diff)
downloadcst116-ch7-debugging-taylorrog-5e5143dfc8f4fa9065a9c9736344f72568bc812f.tar.xz
cst116-ch7-debugging-taylorrog-5e5143dfc8f4fa9065a9c9736344f72568bc812f.zip
Added output text file.
Diffstat (limited to 'CST116-Ch7-Debugging')
-rw-r--r--CST116-Ch7-Debugging/CST116-CH7-Debugging-Rogers.txt5
-rw-r--r--CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp2
2 files changed, 6 insertions, 1 deletions
diff --git a/CST116-Ch7-Debugging/CST116-CH7-Debugging-Rogers.txt b/CST116-Ch7-Debugging/CST116-CH7-Debugging-Rogers.txt
new file mode 100644
index 0000000..22fab6f
--- /dev/null
+++ b/CST116-Ch7-Debugging/CST116-CH7-Debugging-Rogers.txt
@@ -0,0 +1,5 @@
+Enter your age: 10
+Child
+
+C:\Users\taylo\Source\Repos\cst116-ch7-debugging-Taylorrog\CST116-Ch7-Debugging\Debug\CST116-Ch7-Debugging.exe (process 5968) exited with code 0.
+Press any key to close this window . . . \ No newline at end of file
diff --git a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp
index 0805bf0..9f65399 100644
--- a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp
+++ b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp
@@ -84,7 +84,7 @@ int main()
cout << "Senior" << endl;
// Breakpoint 2
// Put a breakpoint on the following line
- else;
+ else
cout << "Adult" << endl;
return 0;