I’m working in Visual studio 2010. I Added a directory to Project Properties -> Linker -> General -> Additional Directories
The project compiles if I use
"file.h"
but not if i use
<file>
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.
You are probably assuming that
< >implicitly adds.hto the end of the file name. This is not true. Whether you use< >or" "has no significance on the name of the file. It basically tells the implementation in which order it should traverse include directories to find the header file.To quote the standard: