Visual studio projects have a folder for header files. So, I put the header file in there thinking I would be able to type #include “SDL.h”, but that didn’t work. I did some searching for it and found nothing helpful.

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Putting the header there only helps organize your files, it doesn’t copy the file to the include directories nor makes it automatically visible.
You’ll need to add the path to where
SDL.his located to your project additional include directories.Just right-click on the project -> Configuration Properties -> C/C++ -> General -> Additional Include Directories.
In fact, you shouldn’t have to add
SDL.hto the solution, having the path in the Additional Include Directories is enough.