Chinaunix首页 | 论坛 | 博客
  • 博客访问: 15314100
  • 博文数量: 2005
  • 博客积分: 11986
  • 博客等级: 上将
  • 技术积分: 22535
  • 用 户 组: 普通用户
  • 注册时间: 2007-05-17 13:56
文章分类

全部博文(2005)

文章存档

2014年(2)

2013年(2)

2012年(16)

2011年(66)

2010年(368)

2009年(743)

2008年(491)

2007年(317)

分类:

2010-02-26 16:36:51

如果提示:
test.cpp:1:20: iostream: No such file or directory
test.cpp: IN function 'int main()':
test.cpp:6: 'cout' undeclared
test.cpp:6: 'endl' undeclared
那么这时单纯的sudo apt-get install g++已经不管用,即便remove掉然后再install也不管事,
只能安装如下包:
luther@gliethttp:~$ sudo apt-get install libstdc++6-4.4-dev
阅读(3526) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~