Error while adding C ++ class

This is not necessarily an error. These types of issues usually occur when there was another class previously created before the IDE has been successfully re-complied. Please post the complier results of the Visual Studio project for further diagnostics.