Hello.
And this lecture you will learn about the character types.
The character types here, the store, human language data.
There are six character types.
The six are car, car, the character, 16 T character and 32 T signed car sign character.
We character team.
So the character type is a default type.
It has.
It always has.
A one byte could be signed or unsigned.
For example, this character type uses in ASCII system.
Here we have characters 16 t.
This is the use for for two bytes character sets.
Example UTF 16 and character 13 two.
But here used for the four by.
Sorry for this mistake used for four byte character sets.
For example, this character type used on UTF to UTF 32 character system.
So the sign character same as character, but guaranteed to be signed.
Signed character as same as character, but guaranteed to be signed.
And lastly, we character PT has a large enough to contain the largest character of the implementations
local, which called Unicode.
So we have two types of characters, male and two groups of characters.
These are the narrow characters and voiced characters.
Now, our characters include characters, signed character, unsigned character, and the white characters
in Car 16, T and Character two, two, T and W Character team.
Here, the the characters types here, As you can see here, all of that is character types.
And this is these are the four types that store human language data, for example, A, B, C, D,
or like that.
So we let's go to character literals.
We will use here a character literal is a single, constant character here.
Single quotation mark like this.
So around our characters, if the character is any type but character car, you must also provide a
prefix for L or v u for car 16 T and and uppercase U for characters 32 t.
So let me actually add this here.
Literal.
Literal, Yes.
Calculated to be literal is uppercase.
You as I said, character 16 T is under case.
Literal is just the you.
But not uppercase.
And the usual character.
As an example, the cart has l.
Here, as you can see here.
But for the default character, you just use the two quotation marks.
And between this or B here you hear.
So we have the escape sequences for characters as well.
The escape sequence.
Some characters don't display on the screen.
Instead, they force the display to do things like move the cursor to the left side of the screen,
cannot return or move the cursor down one line, the new line here so other characters can display on
screen, but they are part of the C++ language syntax, such as simple or double cross you, so you
must use them very carefully.
But these characters into car, you use the escape sequences.
So let's create let's create a list of the escape sequences here in this lecture, the first escape
sequences here as cave sequences.
New line is.
And.
Top here is.
He.
Here.
Tap vertical is me.
The backspace.
Back space is be.
See.
The carriage.
Return of.
Be.
The carriage return.
Is really are.
For four feet.
Four feet is f.
The alert.
Alert is e!
The backslash.
Is double here.
It will character.
The single quote is this.
And double code.
Is this double just a normal double code?
And the no character here?
The No.
Car is zero.
Backslash zero.
So we have a unit called Escape Characters as well, so you can specify unique character Unicode characters,
literals using the universal character names.
And you can form a universal character name in one of the two ways the prefix you or here you.
Followed by the four digit of Unicode point here, or the prefix uppercase U, followed by an eight
digit Unicode point.
So you can represent a key character here.
The character is here.
A lowercase you and four digit.
So.
So e character is this.
So actually you can learn this character on the.
So there is a list for this character, Unicode characters here.
Any unique called characters.
Here.
Uh, table.
Here.
I found this website in which there's almost all Unicode characters and that they are there Unicode
Point character and UTF eight points here.
So as you can see here, if you want to write an A to console.
You can just use this with a single code followed by the backslash U.
And after that you enter the code of this character's.
So as you can say, you can use the other symbols and characters here with different numbers.
Yeah.
So I will copy this website.
On the lectures download here, which you can see it here.
So.
Let's begin with an example.
Enough for the terrorists here.
Let's get to practical.
So let's create our code here.
Let's create some character named X and game this M and let's create another character.
W character.
He called you here by the big uppercase L and Z here.
And then print off.
Windows binaries start with C and LC again and the new line and gave this format specifiers as first
our X and Y.
Yeah.
Oh, I thought we did hear something or see.
So we gave this X and Y.
Yeah.
Sorry.
Let's compile this code now.
Perhaps.
We're on.
Here a Windows binaries start with M.
NZ.
This program outputs this year.
As you can see here, even though the M is a narrow character car and then the Z is here is a white
character.
Printf works because the program uses the correct format specifiers.
The next lecture will be about two bullying types.
So I'm waiting you in the next lecture.