History and Properties of C/C++
This page is an overview of the origins of C/C++ and an explanation of its properties.
Consultez la version francophone de cette page.
Don’t hesitate to provide us with your feedback, comments and suggestions on our content. Contact us at info.crc@sciencetech.ca.
C/C++ is a derivative of C which appeared in its original form in 1983. The goal of C/C++ was to keep the speed of C while also adding object-oriented concepts1. That’s where its first name comes from, C with classes. Finally, C/C++ is a compiled language that lies in a grey area between low-level and high-level languages2. It holds characteristics of both types of languages.
1What is object-oriented programming?
Object Oriented Programming (OOP) is a programming paradigm that is based on the concept of an object, also called a class. OOP allows, among other things, the reuse of code, abstraction and grouping of information into entities (classes). The concepts of inheritance, polymorphism and encapsulation are also introduced in this paradigm. We will see object-oriented programming later in this Wiki.
2What is a level of language?
The level of a programming language is characterized by several aspects.
The level of abstraction
The higher the level, the more it looks like common language
Memory management
What is a compiled language?
C/C++ is a compiled language, but how does it work? A compiled language is like writing a book in French that then has to be read by someone in English - you need a translator in between.
Now we will apply the same logic, but, this time, using more technical terms.
The compiler serves as a translator between the C/C++ language and the binary language, so that the operating system is able to perform the required tasks.