Saya sudah mencoba yang berikut ini:
sudo apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Tetapi ketika saya mengkompilasi terminal menunjukkan hal berikut:
g++ hello.cpp -o hello
The program 'g++' can be found in the following packages:
* g++
* pentium-builder
Try: sudo apt-get install <selected package>
Apa yang harus saya lakukan?
Saya masih mendapatkan hasil yang sama