expected unqualified-id before string constant

This is a simple problem.

You just forgot the semi colon at the end of your header file.

The compiler errors you get for missing the semi colon at the end of a class definition are very hard to relate to the actual problem – just get in the habit of checking that when you get errors after you create a class.

Leave a Comment