search

Home  >  Q&A  >  body text

c++ - VS 2015 include 头文件没找到?


这是什么原因?

黄舟黄舟2813 days ago608

reply all(3)I'll reply

  • ringa_lee

    ringa_lee2017-04-17 14:56:02

    This is usually the way to include system header files
    You can only write this if you add the current project directory . to the header file search path.
    Replace #include "Person.h"

    reply
    0
  • 阿神

    阿神2017-04-17 14:56:02

    Replace with #include "Person.h"

    reply
    0
  • 高洛峰

    高洛峰2017-04-17 14:56:02

    Double quotes indicate that the default search is from the current directory to the directory specified by the compiler.
    Angle brackets will not be searched in the current directory.

    reply
    0
  • Cancelreply