VScode C++ 编写代码识别不到二级文件夹(子文件夹)里面的文件

例如:在main.cpp中使用:

#include<iostream>

#include"sift.h"

会提示出来 :

main.cpp:3:9: fatal error: sift.h: No such file or directory

 #include"sift.h"

         ^~~~~~~~

compilation terminated.

 

怎末配置哇,好难!!!

要么在环境设置里指定include的路径,要么直接#include 时带相对路径,如#include "headfile\sift.h"

C和C++完整教程:https://blog.csdn.net/it_xiangqiang/category_10581430.html
C和C++算法完整教程:https://blog.csdn.net/it_xiangqiang/category_10768339.html