- #71
Jarvis323
- 1,243
- 987
If you have spaces in the path then you need to put quotes around it I think "c:\...". You can use the browser to select the folder if you hit the down arrow, and then the file icon.
Nothing will be indicated and no files will be added to the project. But the red squiggly under your #include "someheaderfileinrandomfolder.h" will go away and your problem that the compiler didn't know where to look for your header files will be solved and your program will compile fine.
IMPORTANT: also, the configuration selected in the upper left corner needs to be set to "All Configurations" if you want it to apply to both "Debug" and "Release" modes.
Nothing will be indicated and no files will be added to the project. But the red squiggly under your #include "someheaderfileinrandomfolder.h" will go away and your problem that the compiler didn't know where to look for your header files will be solved and your program will compile fine.
IMPORTANT: also, the configuration selected in the upper left corner needs to be set to "All Configurations" if you want it to apply to both "Debug" and "Release" modes.
Last edited: