This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
当你包含一个头文件时,编译时,需要找到那个头文件,使用<>这种方式,编译器查找的时候,会在编译器的安装目录的标准库中开始查找,""这种方式,会在当前的工程所在的文件夹开始寻找,也就是你的源程序所在的文件夹。
你换成<> 试试看。
你好,
的确是头文件路径问题,因为使用别人的源程序,打开时,放置路径不同的原因。具体:1.选中程序右键选择properties;2.build》include options中add dir to