The difference between using <> and "" in header files in c++

<> indicates that the compiler starts searching from the system directory, and then searches in the directory listed in the path environment variable, and does not search the current directory "" indicates that the compiler starts searching
from the current directory, and then searches in the system directory and the directory listed in the path environment variable Table of contents

Generally, it is faster to use <>
for custom files and "" for system files.

Guess you like

Origin blog.csdn.net/weixin_40824135/article/details/127974632