1

I am a mechanical engineer and I have Ubuntu 14.04.3 LTS on my Laptop. I need to install C++ program. How I can do that ?

Help me please

1 Answers1

2

Just install G++, the C++ compiler of GCC:

$ sudo apt install g++

You can then compile your source code like this:

$ g++ code.cpp -o file

This will compile "code.cpp" to "file"