0

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

M. Vahid
  • 27
  • 1
  • 2
  • 4

1 Answers1

1

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"

Danial Behzadi
  • 995
  • 2
  • 13
  • 31