Hi there,
I notice in the project I'm working on has one file (a .cpp file) where a specific path is written for a header file like so:
Code:
#include "../Needed Files/Common/d3dApp.h"
#include "../Needed Files/Common/MathHelper.h"
#include "../Needed Files/Common/UploadBuffer.h"
However..it is the only one in the project that does. None of the other files have paths to them they just look like this:
Code:
#include "d3dApp.h"
And that's right throughout the project (including other .cpp files). If I try and change the path in the main .cpp file to for example this:
Code:
#include "d3dApp.h"
#include "MathHelper.h"
#include "UploadBuffer.h"
it fails. So I was curious as to why one file requires a written path and others don't. Even other .cpp files don't.
Is it a project setting or something or does the compiler for whatever require at least one file to have specific paths?
Thanks