C
C
LANGUAGE
A Brief Intro To C++
• C++ is a general-purpose, middle-level language that was
originally developed by Danish computer scientist
Bjarne Stroustrup (buh·jaar·nay strau·struhp) in 1979 at Bell
Laboratories USA.
• The C++ language was initially designed as an extension of
the C language which was widely used in system
programming and Unix-based OS. Also, C was developed in
1970 by Dennis Ritchie while at Bell Labs (formerly AT&T Bell
Labs).
A mid-level programming language is a combination
of low-level & high-level programming languages.
• Over the years, C++ has become one of the most widely used
programming languages and has a variety of applications in
areas like gaming, robotics, finance, and scientific computing.
• The developers have also introduced several new versions of
the language with considerable changes in the spirit of
staying up-to-date and competing with other modern
programming languages.
The Timeline Of C++
Importance Of C++
• C++ is one of the most popular and important programming languages in the
world, with a wide range of applications in many different industries.
• It is widely used for systems programming, gaming, finance, scientific
computing, and robotics, among other areas. It’s especially useful in building
complex software systems, where performance, efficiency, and reliability are
crucial.
• One of its most valuable features is its ability to provide low-level access to
hardware resources. This makes it an ideal language for developing system-level
software, such as device drivers, operating systems, and embedded systems.
• It’s also a highly popular choice for scientific computing and is used to build
high-performance numerical libraries and simulation tools.
Frequently Asked Questions
Q1. Who invented C++? How old is it?
• C++ was developed by Bjarne Stroustrup in 1979 at
Bell Labs. Around the same time, he was also working
on his Ph.D. thesis. He is regarded as the Father of C+
+. As of 2023, the C++ programming language is 44
years old.
Frequently Asked Questions
Q2. Is C++ a dead language?
• Absolutely not! You might have heard some people
say that this language is dead and has become
redundant today. However, the fact that C++ still
remains one of the most popular and widely used
programming languages in the world, even 44 years
after it first came out, negates such claims. In fact, in
January, C++ won the Tiobe programming language of
the year designation for 2022.
Frequently Asked Questions
Q3. Which is older- C or C++?
• The short answer is C. Programming language C was
originally developed in 1972 and is considered the
mother of all languages since most compilers are
written in C. Also, many newer programming
languages follow the C syntax, including C++ which
was developed in 1979, as an extension of C. So as
you can see, the C language is older than C++.
Frequently Asked Questions
Q4. When was C++ first introduced?
• C++ was originally invented in 1979 by the Danish
developer Bjarne Stroustrup. However, it was only in
1983, that the first version of C++ was released to the
public. It quickly gained popularity among
programmers worldwide and was adopted by many
companies as well. The rest as they say is history!
Frequently Asked Questions
Q5. Why was C++ introduced?
• It was developed to build complex systems with high-
level abstractions while still providing low-level access
to the hardware. Stroustrup wanted to extend the C
language and include features such as classes,
inheritance, abstraction, and polymorphism to make it
easier to write efficient, modular, and reusable code.
Frequently Asked Questions
Q6. Which is older- Python or C++?
• The C++ language is definitely older than Python. C++
was developed in 1979 and made available to the
public in 1983, while the implementation of Python
began only in 1989.
Frequently Asked Questions
Q7. What kind of language is C++?
• C++ is a general-purpose programming language that
combines both high-level and low-level language
features. It is considered a Superset of C. It’s also an
object oriented programming language. It has wide
applications across domains and industries across the
world.
Frequently Asked Questions
Q8. What was C++ originally called?
• Bjarne Stroustrup initially called the language “C with
classes”, when he developed it in 1979. But in 1982-
83, Bjarne upgraded the language to include various
new features, and at that point, the language was
renamed C++. Computer scientist Rick Mascitti is
credited for coining the new name.
Frequently Asked Questions
Q9. Is C++ the oldest programming language?
• C++ is not the oldest programming language. The first
commercially available language was FORTRAN which
was developed in 1957. In comparison, C++ was
invented in 1979 and it was first made public in 1983.
Frequently Asked Questions
Q10. Is C++ better than Java?
• To say that one of these languages is better than the
other in absolute terms is not sensible. That's
because each of them has its own strengths and
weaknesses. Both are highly popular programming
languages used widely in various areas. For example,
while C++ is faster than Java, Java is more beginner
friendly in comparison to C++.
Frequently Asked Questions
Q11. Which is more popular- C or C++?
• C++ is more popular than C. It contains all the
features and benefits of C while providing various new
features and OOP paradigms, such as classes,
inheritance, and polymorphism.
Frequently Asked Questions
Q12. Is C++ the mother of all languages?
• No, it is the C programming language, which is
considered the mother of all languages. This is
because many believe that once you master the
concepts of C, you can understand and work with any
of the other programming languages. Many of the
high-level languages are based on C, including C++.
Frequently Asked Questions
Q13. What is STL in C++?
• The STL (Standard Template Library), provides generic
algorithms and data structures such as vectors,
containers, and iterators. The STL makes it easier to
write efficient and reusable code.
Frequently Asked Questions
Q14. What is the difference between C and C++?
• C++ is an object-oriented programming language and
an extension of C. In contrast, C is a procedural-
oriented programming language. Also, C++ is an
extension of the C language, having all the features of
C but also adding various new features such as OOP,
regex support, range-based for loops, etc.