Linux Eclipse CDT C++提示 Type 'string' could not be resolved或Type 'std' could not be resolved
来源:互联网 发布:2017年网络歌曲大全 编辑:程序博客网 时间:2024/05/16 18:37
Eclipse 下载的时候有好几个版本的,如果C++开发的,你可以直接下载带CDT版本的:点击打开链接,你也可以直接下标准版,安装完之后,再去装插件。
安装好之后,刚刚新的环境都会有提示 Type 'string' could not be resolved,你可以include <string> 进来,
但using std::string都会报错Type 'string' could not be resolved。
这是因为没有导入C++包,汗!
解决办法:在你的C++项目上右键,propertie_C/C++General_indexer_打勾Enble project specific settings 打勾Index unused headers as c++ files。这两项打开之后,就能使用C++标准头了。
0 0
- Linux Eclipse CDT C++提示 Type 'string' could not be resolved或Type 'std' could not be resolved
- Type 'JNICALL' could not be resolved
- Type 'AndroidBitmapInfo' could not be resolved
- Type 'jobject' could not be resolved
- Type 'JNIEnv' could not be resolved
- Type 'JNICALL' could not be resolved
- eclipse中出现type int32_t could not be resolved
- eclipse中出现type int32_t could not be resolved
- eclipse : Type Symbol 'xxx' could not be resolved 解决办法
- eclipse Type xxxx could not be resolved 问题解决
- eclipse android ndk 提示Type 'JNIEnv' could not be resolved 等信息解决办法
- eclipse android ndk 提示Type 'JNIEnv' could not be resolved 等信息解决办法
- eclipse android ndk c文件报Type '*****' could not be resolved
- Eclipse中编写jni c文件中报错Type could not be resolved
- eclipse cdt indigo: symbol could not be resolved fixed
- Eclipse CDT + GCC error: function '...' could not be resolved
- win7+eclipse+CDT+cygwin symbol could not be resolved
- Eclipse CDT: Symbol 'cout' could not be resolved 解决
- PostgreSql+PostGIS和uDig的安装
- hive安装.txt
- 数组与list集合之间转换
- php 中的 const static define 区别
- hive笔记.txt
- Linux Eclipse CDT C++提示 Type 'string' could not be resolved或Type 'std' could not be resolved
- 人脸检测的一些坑
- C语言之volatile关键字的应用
- 史上最全最强SpringMVC详细示例实战教程
- 关于数据库的水平切分和垂直切分的一些概念(转)
- Mysql 重做日志及与二进制日志的区别
- Linux下 格式化U盘,制作USB启动盘
- Linux中的变量
- 针对SoundViewer声波显示出现Audio exception System.NullReferenceException: Object reference not set to an ins