会员
周边
众包
新闻
博问
闪存
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
soildong
博客园
首页
新随笔
联系
管理
订阅
文章分类 -
C++
C++ error: 'string' does not name a type
摘要:include一个定义结构体的文件typedef.h编译出现了error: 'string' does not name a type查资料http://blog.csdn.net/niro_z/article/details/8028996得到提示,要在string改为std::string就OK...
阅读全文
posted @
2015-09-01 10:51
firerdong
阅读(19039)
评论(0)
推荐(1)
C++ 函数模板
摘要:1.不需要参数和返回值的函数模板class Test { public: template void getInfo();}; template void Test::getInfo(){ A a = new A(); B b = new B(); T...
阅读全文
posted @
2015-08-31 15:41
firerdong
阅读(95)
评论(0)
推荐(0)
公告