Installation of C++ Program in Ubuntu.
Installation of C++ Program in Ubuntu.
For Installation of C & C++ program in Ubuntu Linux.
Step-1: Right click on Desktop and open Terminal
Step-2: write command ” sudo apt-get install build-essential ” press enter
Step-3: Put Ubuntu CD In CD Rom and press enter
Following command use for write and run program
Step-1: Use ” mkdir ” command for make directory
Step-2: Use ” cd ” command for enter directory
Step-3: After entering in your folder type ” gedit ” program name(Ex:- gedit main.c)
Step-4: type your program and save
Step-5: gcc main.c -o main
Step-6: ./main