免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2706 | 回复: 1
打印 上一主题 下一主题

请问在LINUX中使用STL [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-03-13 21:46 |只看该作者 |倒序浏览
请问在LINUX使用STL是否需要安装STL库,或者已经自带了?
在哪个目录下呢?我找了半天怎么没找着.
在这先谢谢大家了!


附上我的编译错误信息:
showscreen.h:15: error: ISO C++ forbids declaration of `list' with no type
showscreen.h:15: error: expected `;' before '<' token
showscreen.h:20:7: warning: no newline at end of file
showscreen.cpp:9: error: definition of implicitly-declared `CShowScreen::CShowScreen()'
showscreen.cpp:9: error: declaration of `CShowScreen::CShowScreen()' throws different exceptions
showscreen.h:12: error: than previous declaration `CShowScreen::CShowScreen() throw ()'
showscreen.cpp:14: error: expected class-name before '(' token
showscreen.cpp:15: error: no `CShowScreen::~CShowScreen()' member function declared in class `CShowScreen'
showscreen.cpp:21: error: prototype for `void CShowScreen::Add(char*)' does not match any in class `CShowScreen'
showscreen.h:17: error: candidate is: void CShowScreen::Add(const char*)
showscreen.cpp:24: error: `m_listMessage' undeclared (first use this function)
showscreen.cpp:36: error: `CShowMessage' has not been declared
showscreen.cpp:38: error: `list' undeclared (first use this function)
showscreen.cpp:38: error: expected primary-expression before "char"
showscreen.cpp:38: error: expected `;' before "char"
showscreen.cpp:39: error: `Mutex' undeclared (first use this function)
showscreen.cpp:40: error: `iterMessage' undeclared (first use this function)
showscreen.cpp:40: error: `m_listMessage' undeclared (first use this function)
showscreen.cpp:43: error: `iterMessge' undeclared (first use this function)

论坛徽章:
0
2 [报告]
发表于 2005-03-14 03:37 |只看该作者

请问在LINUX中使用STL

源文件
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP