Hi, I'm new to Code::Blocks, using it to learn C++. I'm having a problem creating new class files and adding them to my project. I begin with a console project, and then create a new class file. The class wizard creates a .cpp and .h pair, but the include in the .cpp file...
#include "Rectangle.h"
Rectangle::Rectangle()
{
//ctor
}
Rectangle::~Rectangle()
{
//dtor
}
...produces the following error when I build the project:
C:\Users\Barliesque\Documents\C++\First Project\src\Rectangle.cpp|1|error: Headers/include/Rectangle.h: No such file or directory
...despite both Rectangle.cpp and Rectangle.h being listed in the project build targets. So, what do I gotta do?