Chapter 07 Example 02 Error
The program text in the book for Chapter 07 Example 02 does not function as expected based on Figure 7-19 and the following paragraphs. When I copied the text into Visual Studio and ran it, it would not call the 'catch' functions in main for "nested index" and "filter". I compared the text to the downloaded program and found that in the program text the two 'catch' functions in 'ThrowException' did not include the 'throw' command.
|