如果提示:
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
阅读(3595) | 评论(0) | 转发(0) |