Ratings & reviews

5.02 ratings

Elias D.

18 days ago

.

Pipicz Á.

55 days ago

informative

100%
0%
0%
0%
0%
info

Complete all chapters to get certificate

0%

Numerical Data Types

chevron

short, int, long, float, double, etc. are all numerical data types in C++. In this section, you will learn about all of them as well as the pitfalls they may conceal.

Specifying a Type

Integers

Challenge: Specifying the Data Type

Challenge: Integers

short, long

unsigned

float

double

Numerical Data Types Summary

Arithmetic Operations

Math in C++

Text in C++

chevron

This section will guide you on char and string data types to work with text in C++. You will learn many handy string methods to make using strings easier.

char

string

Indexing a String

Changing a String

Challenge

Finding Text in a String

Working with two Strings

Strings in Memory

Other Data Types and Type Convesion

chevron

This section focuses on the bool data type, the use of void and auto, and covers type conversion, which is frequently used in C++.

Boolean

Boolean Expressions

void

auto

Implicit Type Conversion

Explicit Type Conversion