C++ Introduction

C++ Introduction


Definition:

The C++ programming language is an extension of c programming language.

 The C++ programming language gives programmers a high level of control over system resources and memory.

The C++ programming language is a general purpose, case-sensitive, free-form programming language that supports object-oriented, procedural and generic programming.

The C++ programming language is portable and can be used to develop applications that can be adapted to multiple platforms.

The C++ programming language is a cross-platform language that can be used to create high-performance applications.

C++ Program

In this tutorial, all C++ programs are given with C++ compiler so that you can easily change the C++ program code.

File: p1.cpp             

Usage of C++

Write the following C++ code and save the file as p1.cpp (File > Save File as):

Output :  Hello World! Welcome to OPH!

By the help of C++ programming language, we can develop different types of secured and robust applications:

  • Window application
  • Client-Server application
  • Device drivers
  • Embedded firmware etc