Sounds like you forgot to include any header files...