Oh I see. The book that I'm using says that it's for Visual C++, so I assumed that whatever it said would work for Dev C++. I typed it exactly how it was written in the book, and overlooked that integer error.