Who invented C++, and why is it so popular?
C++ was created as an extension to C by AT&T researcher Bjarne Stroustrup, who built the first version of C++ in 1983. The reason C++ is so popular is because it provides additional ways to organize the logic behind complex software.
Early programs used jumps and goto statements. This has been labelled spagetti code because the thread of execution can be very difficult to follow. Newer languages support subroutines that are self-contained. This allows you to write more complex programs that are still easy to understand and maintain.
C++ is just the next step to this. By allowing you to organize the logic of your program in separate classes and enforcing rules of what cannot be accessed anywhere else in the program, C++ makes it even easier to organize the logic behind today’s ever more complex software.