Basic C++ - you need to include the header with "NewContact" class declaration.