• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 4 pages
Class notes

New to C++

Document preview thumbnail
Preview 1 out of 4 pages

This document serves as an extensive guide for experienced programmers looking to deepen their understanding and mastery of the C++ programming language. It covers advanced concepts, modern techniques, and best practices to help developers leverage the full potential of C++ in their projects.

Content preview

Introduction to C++ programming:

**1.1 History and Evolution of C++:**

C++ is a general-purpose programming language that was created as an extension of the C
programming language. It was developed by Bjarne Stroustrup at Bell Labs in the early
1980s. Stroustrup wanted to enhance C with features for object-oriented programming
(OOP) while maintaining compatibility with existing C code.

1.1.1 The Birth of C++:
- In the early 1980s, Bjarne Stroustrup started working on what would become C++. He
aimed to combine the efficiency and low-level capabilities of C with high-level abstractions
and the power of OOP.
- Stroustrup's early work on C++ involved adding classes, derived classes, strong type
checking, and other OOP features to C. He also introduced the concept of "C with Classes"
as an intermediate language.

1.1.2 Standardisation of C++:
- In 1983, the first edition of "The C++ Programming Language" by Bjarne Stroustrup was
published, providing a comprehensive reference for the language.
- The language continued to evolve, and Stroustrup started working with a committee to
standardise C++. In 1998, the first international standard for C++ known as C++98 (or
ISO/IEC 14882:1998) was published.
- Subsequent revisions, such as C++03, C++11, C++14, C++17, and C++20, brought new
features, improvements, and better support for modern programming practices.

1.1.3 C++ Today:
- C++ remains a widely used programming language in various domains, including systems
programming, game development, embedded systems, high-performance computing, and
more.
- The C++ language continues to evolve, with regular updates and new standards being
developed to address emerging needs and improve the language.

**1.2 Key Features and Advantages of C++:**

1.2.1 Object-Oriented Programming (OOP):
- C++ provides robust support for object-oriented programming concepts such as classes,
objects, inheritance, polymorphism, and encapsulation. These features enable the
organisation and modularization of code, making it easier to manage and reuse.

1.2.2 Efficiency and Performance:
- C++ is known for its efficiency and low-level capabilities. It allows direct memory
manipulation, fine-grained control over resources, and efficient use of hardware. This makes
it suitable for performance-critical applications and systems programming.

1.2.3 Standard Template Library (STL):

Document information

Uploaded on
July 6, 2023
Number of pages
4
Written in
2022/2023
Type
Class notes
Professor(s)
Stien
Contains
All classes
$8.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
0
Followers
0
Items
28
Last sold
-



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions