CppBuzz.com
  
Home C C++ Java Python Perl PHP SQL JavaScript Linux Online Test Forum

Home » C++ » 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 Categories

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