Get the FREE certificate on C, C++, Java, Python, Perl, PHP, SQL, Linux & Javascript!
Home C C++ Java Python Perl PHP Spring SQL Javascript Linux

You are here : Home » Compile C++ on Linux using g++ compiler

Compile C++ on Linux using g++ compiler

Create a C++ program using vi editor on Linux

Create "Hello World" Program in C++

Compile using g++ and Run executable ./a.out

When a .cpp file is compiled using g++, then by default executable with name a.out is created, this executable can be run like ./a.out

Other links :

MCQ on C Programming  |  MCQ on C++ Programming  |  138+C++ F2F Interview Questions |  Basic Computer Questions |  Solved C programs  |  Solved C++ programs