From 5e5143dfc8f4fa9065a9c9736344f72568bc812f Mon Sep 17 00:00:00 2001 From: Taylor Rogers Date: Sat, 8 Oct 2022 15:14:52 -0700 Subject: Added output text file. --- CST116-Ch7-Debugging/CST116-CH7-Debugging-Rogers.txt | 5 +++++ CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 CST116-Ch7-Debugging/CST116-CH7-Debugging-Rogers.txt (limited to 'CST116-Ch7-Debugging') 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; -- cgit v1.2.3