what does the "undefined reference to Rectangle::Rectangle()" mean.
I am trying to practice creating a simple header file to learn the ins and outs.
I watched a tutorial on line and built it the same way the video showed using the same IDE but I get the error msg
#include "Rectangle.h"
#include<iostream>
#include<cstdlib>
usingnamespace std;
Rectangle::Rectangle()
{
cout << "I am from the rectangle file " << endl;
}
what do you mean. I am only on my third fourth month of coding and not sure what you mean. I have all three files in the same folder on my flash drive if that is what you mean. The tutorial didn't mention anything about linking them other than the files being stored in the same location. Any help you can give would be greatly appreciated kooth
I have fixed the problem by going to setting>complier> and then linked the files from my flash drive to the prgm. Thanks for seeding the thought of linking the files kooth