Eclipse CDT 中 ** can not be resolved解决方法

来源:互联网 发布:管家婆端口设置 编辑:程序博客网 时间:2024/05/17 20:30
1.应用程序能正常编译运行,但是代码中会出现红色的出错提示 “** can not be resolved”.

2.解决方法,添加c++,c文件的language mappings


unresolved c++标准库的头文件找不到,解决办法:
右键单击 -> properties -> C/C++ General -> Paths and Symbols -> Add...  -> file system.
然后选择c/c++库的位置:/usr/include
如此再继续添加/usr/include/c++路径。确定后即可

0 0
原创粉丝点击