We can use two ways to install g++ on Ubuntu.
1. a. sudo apt-get install make gcc g++.
b. sudo apt-get install manpages-dev.
2. sudo apt-get install build-essential.
We can use two ways to install g++ on Ubuntu.
1. a. sudo apt-get install make gcc g++.
b. sudo apt-get install manpages-dev.
2. sudo apt-get install build-essential.
转载于:https://www.cnblogs.com/shuk-notes/p/4964370.html