diff options
Diffstat (limited to 'CST116-Ch7-Debugging')
| -rw-r--r-- | CST116-Ch7-Debugging/CST116-CH7-Debugging-Rogers.txt | 5 | ||||
| -rw-r--r-- | CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp | 2 |
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; |