C vs C++
C++ was built on top of C. It keeps the speed of C and adds classes, which makes it a far bigger language to learn.
C
A small, fast language close to the machine. Much core code is written in C.
C is a small, fast language that sits close to the machine. Dennis Ritchie made it at Bell Labs in the early 1970s. You manage memory yourself, which gives speed but also room for serious bugs. The Linux kernel, large parts of Windows and the code in many small devices are written in C. Many later languages, like C++, Java and Go, borrowed its look.
C++
C with classes and much more added. Fast, powerful, and used for games and browsers.
C++ is a language built on C that adds classes and more. Bjarne Stroustrup started it at Bell Labs in 1979. It keeps C's speed and control over memory, and adds ways to organise large programs. Game engines, web browsers and trading systems often use it. It is powerful, but large and hard to learn fully.
In one line
- C
- A small, fast language close to the machine. Much core code is written in C.
- C++
- C with classes and much more added. Fast, powerful, and used for games and browsers.