Eclipse CDT: Type 'std::string' could not be resolved

Eclipse CDT编写C/C++代码,代码提示如果有 Eclipse CDT: Type 'std::string' could not be resolved 或者类似问题,而感觉头文件和目录都引用好了,可以在Project上 -> 右键Indexer -> Search unresolved Includes,看看还有什么头文件没有被正常识别。一般解决里这里面的提醒,错误就没有了。

猜你喜欢

转载自blog.csdn.net/Dable_cn/article/details/80122964