转载于https://itsfoss.com/c-plus-plus-ubuntu/ 向大佬致敬
一、C++开发环境的安装。
1. 安装build-essential package
sudo apt-get install build-essential
you must install build-essential package. It consists of various software that you will need to compile programs, including gcc and g++ compilers.
2. 在eclipse上安装C++插件
1)选择eclipse menu上的help菜单下的install new software,并输入以下内容:
2)新建项目