Partyslug
I'm having an issue were when I create a new file and put it in the same directory as the others in the code folder that file can't be detected when building. It's a header file and it has the same include guards as the other header files being used in Handmade Hero.
How are you #include'ing the header file? Be sure to use the quotes to specify that the file is in the same directory as the .cpp file #include'ing it from.
| // Assuming this is in file.cpp
#include "file.h"
|
Partyslug
Are there any flaws or risks creating the file like that?
I don't believe there are any flaws or risks doing this (someone correct me if I am wrong), just be sure to change the header guards to the appropriate file name.
Jordan