How can I use C++ in Ubuntu?

Nguyễn Tân

New member
How can I use C++ in Ubuntu?
Answer
Setup C++ Programming Tools on Ubuntu for Beginners
  1. Install Compiler. Do it: sudo apt-get install g++
  2. Install Editor. Do it: sudo apt-get install geany.
  3. Write. Now type this source code and save it as code.cpp. #include <iostream>
  4. Compile. Now press Compile button, and then press Build button.
  5. Run. Now press Run button.
 

Tìm kiếm

Back
Top