I’m quite new in C++ after few years in Java and eclipse, I got little bit confusing using code::blocks, no autogenerate setter/getter and also implement interface :D.
I wanna ask about code structure in code::blocks, I create new console application, my header will be put to Headers/include folder called Employee.h, then .cpp will be put to src folder.
Now I create main class (I put outside of src folder) who will call the header, I just append the include code like this :
#include "Employee.h"
sure then the errors appeared after compiling:
error : Employee.h: No such file or directory.
how to link the header to the main class properly?
this is my folder structure :

updated :
It works, my include folder needs to be added on build options.

Really thanks
You need to add your include directory to your compiler’s include path. This is going to be compiler-specific. e.g., if your structure is:
and you’re running g++ from a terminal in the ‘code’ directory, you’d need to run (assuming your .cpp is Employee.cpp):
I suspect you’re running some sort of IDE, though: if so, do a search in its help for “include path” and it should tell you how to set it up correctly.