I am running my code but I am receiving the following errors:
1 2 3 4 5 6 7 8
mainfile.cpp:(.text+0x13): undefined reference to `pointType::pointType()'
mainfile.cpp:(.text+0x153): undefined reference to `pointType::~pointType()'
mainfile.cpp:(.text+0x16d): undefined reference to `pointType::~pointType()'
/tmp/ccTciTMD.o: In function `circleType::circleType()':
circleTypeImp.cpp:(.text+0x7c): undefined reference to `pointType::pointType()'
/tmp/ccTciTMD.o: In function `circleType::~circleType()':
circleTypeImp.cpp:(.text+0x96): undefined reference to `pointType::~pointType()'
collect2: ld returned 1 exit status
I am not sure what these mean or what the problem is. Any help is greatly appreciated. Thanks in advance
//main.cpp
#include "pointTypee.h"
#include "circleTypee.h"
#include <iostream>
usingnamespace std;
int main()
{
pointType p;
circleType c;
double rad;
double area;
double circum;
double x;
double y;
cout << "Enter the x coordinate " << endl;
cin >> x;
cout << endl;
cout << "Enter the y coordinate " << endl;
cin >> y;
cout << endl;
cout << "The X & Y coordinates are: (" << x << "," << y << ")" << endl;
cout << "The area of the circle is: "; //Add
cout << "The circumference of the circle is: "; //Add
return 0;
}