Hello. I am having doubts when implementing a header in folders with different paths. I'm putting my header in a folder named "include"
and the implementations in a folder named "src"
. To solve this problem, I'm doing the following in the implementation: #include "../include/header.h"
My question is that when you see many codes available on the internet, you do not use "../" to go to the directory, where many only include the name of the header. For example: #include "header.h"
I would like to know how this is possible, because when I do not get to the correct directory, I get file errors not found. Even the ready codes that down on the internet I need to fix the files directory as I get the same error.