Does it mean search the previous folder for somefile.h or the project folder for somefile.h?
Share
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.
It means that look for
somefile.hin the parent folder with respect to the source file where the include directive is found.In *nix systems(thats where this convention came from AFAIK):
For example, if you have the following directories structure:
Your source file could be in
home/code/srcand you have:in your source code, then the compiler is going to look for
somefile.hinhome/code/