Code in C++
Learn the basics of C++ through coding examples.
C++
C++ was developed by Bjarne Stroustrup, a Danish computer scientist, and he initially called it C with Classes. The work began in 1979, and he wanted to create a language that had the power of the C programming language and the object-oriented features he had been exposed to when programming for his Ph.D. thesis.
In 1982, he renamed the language C++, where the two addition operators are a reference to the ++
operator in C, which increments a variable by one. The idea is that C++ is C with one thing added, and that thing is object-orientation.
The first commercial release of the language was in 1985.
C++ is a general-purpose compiled programming language that’s often used in situations requiring high execution speed, where the programmer is in control over how data is stored and managed in the computer’s memory.
Here are some quick facts about it:
Get hands-on with 1400+ tech skills courses.