Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

Introduction to C++

Rating
-
Sold
-
Pages
5
Uploaded on
12-03-2022
Written in
2021/2022

This code is about Introduction of C++; what is the usage of C++, C++ Syntax; how we can write C++ code etc..

Institution
Course

Content preview

Topic 2| Introduction to C++



C++

Introduction to C++
C++ usage
C++ Syntax

Code Example




1

, Topic 2| Introduction to C++

Introduction to C++:
C++ was developed by Bjarne Stroustrup, as an extension to the C language. C++ is a cross-
platform, machine independent, object oriented, case sensitive and compiled language.


A cross-platform computer product or system is a product or system that can work
across multiple types of platforms or operating environments.
You can use it to build applications that will run on many different operating systems. It
makes it easy to switch between different setups and target platforms. It provides support
for building, running and deploying C++ applications not only for desktop environments
but also for mobile devices.


Machine independent means its programs run at any architecture of computer
(hardware).
Basically when a program that run at any OS(operating system) means, that is
called platform independent and programs that run at any architecture of computer are
called machine independent.



C++ is called object oriented programming (OOP) language because C++ language views
a problem in terms of objects involved rather than the procedure for doing it. The core of
the pure object-oriented programming is to create an object, in code, that has certain
properties and methods. For example if we see around us there are objects everywhere
like fan, table, students etc.

Everything in C++ is associated with classes and objects, along with its attributes and
methods. For example: in real life, a car is an object. The car has attributes, such as
weight and color, and methods, such as drive and brake.


C++ is case sensitive means uppercase and lowercase letters are considered to be
different. For example a variable named name is different from Name, which is different
from NAME.


C++ is designed to be a compiled language, meaning that it is generally translated into
machine language that can be understood directly by the system, making the generated
program highly efficient.



2

Written for

Institution
Course

Document information

Uploaded on
March 12, 2022
Number of pages
5
Written in
2021/2022
Type
Class notes
Professor(s)
Sir ibrar
Contains
All classes

Subjects

$7.99
Get access to the full document:

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

Get to know the seller
Seller avatar
ayesharaziq694

Get to know the seller

Seller avatar
ayesharaziq694 Freelancing
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
4 year
Number of followers
0
Documents
8
Last sold
-
Helping Material for Students

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

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