To run the programs in G++:
- Right click on the desktop and choose create a document , then choose empty file.
- Write the program in the file with the extension .cpp. e.g meet.cpp
- Go to the terminal and write the command:
cd Desktop
g++ meet.cpp
- With this a file will automatically be created on the desktop i.e a.out
- In the terminal you will remain on the prompt sign even after giving the above command.
- Now to run the program write;
./a.out