100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Summary Introduction to C++ Programming Language $5.49   Add to cart

Summary

Summary Introduction to C++ Programming Language

 5 views  0 purchase

The document introduces the C++ programming language, highlighting its history, features, and significance in software development. It covers basic syntax, data types, and fundamental concepts like variables, operators, and control structures. Practical examples illustrate simple programs, emphasiz...

[Show more]

Preview 2 out of 14  pages

  • July 25, 2024
  • 14
  • 2023/2024
  • Summary
All documents for this subject (10)
avatar-seller
peterkuria3
ELITE TUTORING



Introduction to C++ Programming Language
C++ is a general-purpose programming language that was developed as an enhancement of
the C language to include object-oriented paradigm. It is an imperative and
a compiled language.




C++ is a middle-level language rendering it the advantage of programming low-level (drivers,
kernels) and even higher-level applications (games, GUI, desktop apps etc.). The basic syntax
and code structure of both C and C++ are the same.

Some of the features & key-points to note about the programming language are as follows:
• Simple: It is a simple language in the sense that programs can be broken down
into logical units and parts, has a rich library support and a variety of data-types.
• Machine Independent but Platform Dependent: A C++ executable is not
platform-independent (compiled programs on Linux won’t run on Windows),
however they are machine independent.
• Mid-level language: It is a mid-level language as we can do both systems-
programming (drivers, kernels, networking etc.) and build large-scale user
applications (Media Players, Photoshop, Game Engines etc.)
• Rich library support: Has a rich library support (Both standard ~ built-in data
structures, algorithms etc.) as well 3rd party libraries (e.g. Boost libraries) for fast
and rapid development.
• Speed of execution: C++ programs excel in execution speed. Since, it is a
compiled language, and also hugely procedural. Newer languages have extra in-

, ELITE TUTORING


built default features such as garbage-collection, dynamic typing etc. which slow
the execution of the program overall. Since there is no additional processing
overhead like this in C++, it is blazing fast.
• Pointer and direct Memory-Access: C++ provides pointer support which aids
users to directly manipulate storage address. This helps in doing low-level
programming (where one might need to have explicit control on the storage of
variables).
• Object-Oriented: One of the strongest points of the language which sets it apart
from C. Object-Oriented support helps C++ to make maintainable and extensible
programs. i.e. Large-scale applications can be built. Procedural code becomes
difficult to maintain as code-size grows.
• Compiled Language: C++ is a compiled language, contributing to its speed.
Applications of C++:
C++ finds varied usage in applications such as:
• Operating Systems & Systems Programming. e.g. Linux-based OS (Ubuntu etc.)
• Browsers (Chrome & Firefox)
• Graphics & Game engines (Photoshop, Blender, Unreal-Engine)
• Database Engines (MySQL, MongoDB, Redis etc.)
• Cloud/Distributed Systems
Some interesting facts about C++:
Here are some awesome facts about C++ that may interest you:
1. The name of C++ signifies the evolutionary nature of the changes from C. “++” is
the C increment operator.
2. C++ is one of the predominant languages for the development of all kind of
technical and commercial software.
3. C++ introduces Object-Oriented Programming, not present in C. Like other things,
C++ supports the four primary features of OOP: encapsulation, polymorphism,
abstraction, and inheritance.
4. C++ got the OOP features from Simula67 Programming language.
5. A function is a minimum requirement for a C++ program to run.(at least main()
function)

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller peterkuria3. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $5.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

81849 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$5.49
  • (0)
  Add to cart