C++ Environment, History, and Sample Programs Flashcards
C++ was developed by Bjarne Stroustrup at Bell Labs while working on his Ph.D. thesis. Stroustrup aimed to create a dynamic language that would enable complex system development with high-level abstractions while maintaining low-level hardware access.
1979
The first public release of C++ occurred. Rick Mascitti changed the language name from “C with classes” to “C++”. The “++” signifies the increment operator, absent in the C language.
1983
The first edition of “The C++ Programming Language” was published, establishing C++ as a mainstream programming language.
1985
C++98, the first international standardized version of C++, was released, incorporating new features like templates, exceptions, and namespaces.
1998
Multiple ISO standards for C++ have been released, including C++11, C++14, C++17, and the latest C++20. These standards ensure consistency and portability across platforms.
Subsequent release
C++ vs. Java
- C++ is a statically typed language, while Java is dynamically typed.
- This means data types in C++ are declared at compile time, while in Java, they are declared at runtime.
- Generally, C++ is faster than Java, but it is less portable.
- Java has a larger ecosystem of libraries and frameworks.
C++ vs. Python
- Python has simpler syntax compared to C++, making it easier to learn and use.
- C++ has a more complex syntax.
- Python is dynamically typed, while C++ is statically typed.
- Python is highly portable, running on any platform with a Python interpreter, while C++ needs to be compiled separately for each platform.
- C++ relies on a strong ecosystem of libraries, headers, and tools that contribute to its functionality and versatility.
C++ Environment