Search for notes by fellow students, in your own course and all over the country.

Browse our notes for titles which look like what you need, you can preview any of the notes via a sample of the contents. After you're happy these are the notes you're after simply pop them into your shopping cart.

My Basket

You have nothing in your shopping cart yet.

Title: C++ notes for beginners
Description: Fully detailed notes on C++ for beginners.Easy to learn and understand the topics.

Document Preview

Extracts from the notes are below, to see the PDF you'll receive please use the links above


1
...
History of C++
3
...
Data types in C++
5
...
Operators in C++
7
...
Functions in C++
9
...
Object-oriented programming in C++
Let's get started!
1
...
C++ is an object-oriented programming
(OOP) language that allows developers to create reusable code that can be
used in a wide range of applications, from games and mobile apps to
desktop software and web applications
...
History of C++ C++ was originally developed as an extension of the C
programming language in the early 1980s by Bjarne Stroustrup, who
wanted to create a language that was both powerful and flexible
...

3
...
Some of the key features of C++
include:
 Object-oriented programming: C++ is an object-oriented programming
(OOP) language, which means that it allows developers to create reusable
code that can be used in a wide range of applications
...

 Portability: C++ is a cross-platform programming language, which means
that it can be used to create applications that can run on multiple operating
systems
...


4
...
Some of the key data types in C++ include:
 int: used to store integers (whole numbers)
 double: used to store floating-point numbers (numbers with decimal
points)
 char: used to store individual characters
 string: used to store text strings
 bool: used to store Boolean values (true or false)
5
...
A variable is
defined using a data type and a name
...
Operators in C++ C++ has a number of operators that are used to perform
mathematical and logical operations on variables and values
...
Variables in C++ A variable is a named memory location used to store a
value of a specific data type in C++
...

To declare a variable in C++, you need to specify its data type followed by
the variable name
...
In that case, the
variable will have an undefined value until you assign a value to it
...
Here's an example of how to assign a value to the
"count" variable declared above:
makefileCopy code
count = 10;

You can also assign a value to a variable during declaration
...
1416:
arduinoCopy code
float pi = 3
...
Comments in C++ Comments are used in programming to add notes or
explanations to the code
...
In C++, there are two types of
comments: single-line comments and multi-line comments
...

Here's an example of how to use a single-line comment:
arduinoCopy code
// This is a single-line comment in C++

Multi-line comments start with /* and end with */
...

It's good practice to add comments to your code to make it easier to
understand and maintain
...
Comments can also help
other developers who read your code to understand it better
...
Variables in C++ A variable is a named memory location used to store a
value of a specific data type in C++
...

To declare a variable in C++, you need to specify its data type followed by
the variable name
...
In that case, the
variable will have an undefined value until you assign a value to it
...
Here's an example of how to assign a value to the
"count" variable declared above:
makefileCopy code
count = 10;

You can also assign a value to a variable during declaration
...
1416:
arduinoCopy code
float pi = 3
...
Comments in C++ Comments are used in programming to add notes or
explanations to the code
...
In C++, there are two types of
comments: single-line comments and multi-line comments
...

Here's an example of how to use a single-line comment:
arduinoCopy code
// This is a single-line comment in C++

Multi-line comments start with /* and end with */
...

It's good practice to add comments to your code to make it easier to
understand and maintain
...
Comments can also help
other developers who read your code to understand it better
Title: C++ notes for beginners
Description: Fully detailed notes on C++ for beginners.Easy to learn and understand the topics.