Step 1: Install the environments and editors using these commands
sudo apt-get update
sudo apt-get install emacs
sudo apt-get install build-essential
sudo apt-get install git
sudo apt-get install gdb
Step 2: Run basic hello world code using emacs
Step 2.1: Run the command "emacs test.cc"
Step 2.2: Type in: #include <iostream>
using namespace std;
int main(){
cout<<”hello world”;
}
Step 3: Use the following commands to run the code:
1) g++ -g test.cc -o a
2) ./a