Skip to content

Commit 638f18e

Browse files
committed
last fixes
1 parent c718d2c commit 638f18e

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
47.2 KB
Loading

docs/get-started/tutorial-console-cpp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ Since the user is free to type anything into the console window, let's make sure
684684
The breakpoint is on the line: result = c dot Calculate ( x, oper, y). 'Conditions...' The Condition option is checked. The Conditions dropdown is set to "Conditional Expression". The condition dropdown is set to "Is true". The condition is set to y == 0 && oper == '/'.
685685
:::image-end:::
686686

687-
Now we pause execution at the breakpoint specifically if a division by 0 is attempted.
687+
Execution will pause at the breakpoint if a division by 0 is attempted.
688688

689689
1. To debug the program, press **F5**, or select the **Local Windows Debugger** toolbar button that has the green arrow icon. In your console app, if you enter something like "5 - 0", the program behaves normally and keeps running. However, if you type "10 / 0", it pauses at the breakpoint. You can even put any number of spaces between the operator and numbers; `cin` is smart enough to parse the input appropriately.
690690

0 commit comments

Comments
 (0)