Clear, practical technology insights About · Contact

What Is the Basic C ++ Programming Language?

Understand What Is the Basic C ++ Programming Language? with clear explanations, practical examples, and useful tips. This updated guide covers the...

Published: 4 minutes read
Table of Contents

What Is the Basic C ++ Programming Language? is easier to understand when the core ideas are paired with practical examples. The sections below explain the topic clearly, highlight useful steps, and point out details that can prevent common errors.

C ++ is a static programming language, data deduction, distinguishing lower case letters that support object-oriented programming, procedural programming.

C ++ is considered as middle-level language , when it combines features and features of high and low-level languages.

C ++ was developed by Bjarne Stroustrup in 1979 at Bell Labs in Murray Hill, New Jersey, as an advanced version of the C language and with the first name "C with Grades", but later renamed C ++ in 1983.

C ++ is a Superset of C, and any C program is a C ++ program.

Note : When saying a programming language is static type when type checking is done in compile-time, not run-time.

Object-oriented programming

C ++ fully supports object-oriented programming, including 4 core features of object-oriented programming:

  1. Encapsulation
  2. Data hiding (Data hiding)
  3. Inheritance
  4. Polymorphism

Letter of standard C ++ (C ++ Standard Library)

Standard C ++ consists of 3 important parts:

Core Language provides all blocks including variables, data types (data type) and literals,.

C ++ standard library (C ++ Standard Library) provides a diverse set of functions for manipulating files and strings,.

Standard Template Library (STL) provides a diverse set of methods for manipulating data structures,.

ANSI Standard

ANSI Standard ensures that C ++ is portable, ie: the code you write for the Microsoft compiler will be compiled without error when using a compiler on Mac, UNIX, and Windows box or an Alpha.

ANSI Standard has existed for a long time, and all C ++ compiler support ANSI Standard.

How to study C ++?

The most important thing when learning C ++ is the focus on concepts.

The goal of learning a programming language is to become a better programmer, that is, to design and implement new systems more efficiently, or to modify old programs.

C ++ supports a variety of programming styles. You can write in Fortran, C, Smalltalk,. in any language. Each style can achieve its goal effectively while maintaining runtime and space effectively.

Domain used by C ++

C ++ is used by thousands of developers in every basic application area.

C ++ is commonly used to write device drivers and other software that rely on direct hardware operation under realtime constraints.

C ++ is widely used for training and research.

Any two who have used Apple Macintosh or a Windows-based PC are indirectly using C ++, because the User Interface of these systems is written in C ++.

According to Tutorialspoint

Previous post: Command line parameter in C

Next lesson: Install C ++ environment

Frequently Asked Questions

What should you know about object-oriented programming?

C ++ fully supports object-oriented programming, including 4 core features of object-oriented programming:

What should you know about letter of standard C ++ (C ++ Standard Library)?

Standard C ++ consists of 3 important parts:

What should you know about aNSI Standard?

ANSI Standard ensures that C ++ is portable, ie: the code you write for the Microsoft compiler will be compiled without error when using a compiler on Mac, UNIX, and Windows box or an Alpha.

Was this article helpful?

Your feedback helps us improve.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.