Introduction to C++
BEGINNER
#c++
Author: Yehor Matiiash
Course description
The C++ programming language is very popular now. It is used in systems programming, embedded systems programming, game development, and cross-platform application development. Sounds cool? Let's study C++!
Complete all chapters to get certificate
0%
Hello, C++
In this section, we will learn the structure of a default C++ program.
What is C++?
First Program
#include Directive
Namespace 1/2
Namespace 2/2
Challenge: The First Output
Variables and Data Types
In this section, we will learn how to manipulate different variables.
Variables
Data Types
Numerical Data Types
String
sizeof(), auto, typedef
Arrays
Const and Enum (Bonus)
Challenge: Working with the Array
Operators
In this section, we will learn how to equate and compare variables, and use mathematical and bitwise operators.
Simple Operators
A Little Math
Logical Operators
Compound Assignment Operator
Bitwise Shift Operators (Bonus)
Challenge: Math Basics
Program Flow
In this section, we will learn how to control the flow of our programs.
if...else
Ternary Operator
Switch-case
While Loop
do...while
For Loop
Challenge: The First For Loop
Functions
In this section, we will explore the concept of functions, and how to create and call them.
What are Functions?
Type of Functions
Return
Functions With Arguments
Overloaded Function (Bonus)
Challenge: Simple Function
Memory, Pointers and References
In this section, we will understand how to allocate memory, how to use memory by pointers help.
Allocating Memory
Referencing and Dereferencing Operators
Pointers
New and Delete
Address Arithmetic (Bonus)
Reference
Challenge: Pointers Tutorial