Introduction to C++ (original) (raw)

Last Updated : 6 Jun, 2026

C++ is a general-purpose programming language developed by Bjarne Stroustrup as an extension of C. It is widely used for developing high-performance applications, system software, games, and embedded systems.

Features_of_CPP

Features-of-C++

First C++ Program

The below C++ code shows the basic structure of a program.

C++ `

#include using namespace std;

int main() { cout << "Hello, World!"; return 0; }

`

Structure of the C++ program

The basic structure of a C++ program defines the standard way every program must be written; otherwise, it will cause a compilation error. The structure includes:

prim_s_algorithm_14

How to Run the Above Code?

13234-

Related Article