专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > 编程

linux 编程中的异常解决

发布时间:2011-07-01 07:26:11 文章来源:www.iduyao.cn 采编人员:星星草
linux 编程中的错误解决

1.

问题:

hash_map定义那行:   error:   ISO   C++   forbids   declaration   of   `hash_map '   with   no   type 
hash_map定义那行:   error:   expected   `; '   before   ' < '   token 

 

解决:

 

加入引用:

#include   <ext/hash_map> 
#include   <string> 
#include   <iostream> 
#include   <sstream> 
#include   <list> 
using   namespace   std; 
using   namespace   __gnu_cxx;//需要引入

 

 

2.

 

友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: