when using #include to include header files,
  • If using <header.h>, the compiler will search the header file in the system header folder.
  • If using "header.h", the compiler will search the header file in the current folder first; if not found, it will search the header file in the system header folder.
  • In A.cpp, if using #include <A.h>,the following error message will show “fatal error C1083: Cannot open include file: 'A.h': No such file or directory”。using #include "A.h" can resolve this issue.
  • In a word,<> can be replaced with "", but "" can not be replaced with <>.

posted on 2012-04-12 11:16  chuwachen  阅读(106)  评论(0)    收藏  举报