Have a problem after typing in the source code from the book, but can't understand the error message? Use this online diff tool to see the differences between the book's code and your code!
Select the program you were typing in from this dropdown menu:Program: Side by Side Inline
Copy and paste your code here to see how it is different from the code in the book:
Click the "Compare" button: