I got three .cpp files and two header files.
.cpp
two header files.
But when i compile them, meaning the Point.cpp, Data.cpp and main.cpp, it will say
In each of your header files write:
#ifndef MYHEADERNAME_H #define MYHEADERNAME_H code goes here.... #endif