Your program has just crashed, and you don't know why. Click OK to close that annoying message box.
You decide to start a debugging section to discover the root of the problem. Go to the Build Menu, pick Start Debug, and click on Go. Now type in 15 again.
QUESTION 3: What happens this time?
Click OK. Find the little yellow arrow.
QUESTION 4: What function is the arrow in?
QUESTION 5: Why is Start Debug sometimes more useful than just compiling in debug mode and executing the program with the ! button?
Look down in the lower left-hand corner of your MSVC window. Find array, and look at its value
QUESTION 6: What is the value of array?
Let's see what's in the first element of array. Go to the watch window, in the lower right-hand corner, and type array[0].
QUESTION 7: What is in the value window for array[0] (make sure you resize the watch window by dragging its left side so you can see what's going on)?
Hmm, this value isn't so nice. Let's find out how it got that way on the next page of the assignment.