So im trying to include a file into my current project. I have the project all setup with both files in it, then when I try to include the one page with the other im getting the error
"C:\Users\owner\Desktop\Game Development\C++\Tests\Programs\Visual\Button\Maze\main.cpp|4|Data.h: No such file or directory"
my include looks like this...
#include <Data.h>
Data.h is in the same folder as main.cpp and the same folder as the whole project is (the Maze folder). If I change the include to look like this...
#include <C:\Users\owner\Desktop\Game Development\C++\Tests\Programs\Visual\Button\Maze\Data.h>
Then it works fine with no errors and loads the data from Data.h. My question is, why do I have to put the whole path towards Data.h instead of just <Data.h>, Its really annoying to have to write out the whole patch for each file I include in the project.
(This is my first day using CodeBlocks so sorry if this is a retarded question)