Hi, guys.
Welcome back.
In this we do we will learn two more things.
OK, so let's get started.
First, let us write some called.
Pashing, glued your stream.
Using namespace SDD Samon column.
And man.
And then I'm having done zero, then semicolon.
OK, so just a second.
OK, so let us right some good.
Let us print something, see out.
Iron Man is awesome.
And then seven column C-code.
John Cena.
Is also.
Awesome.
And then Simon Cowell.
OK, so Verlinden.
Iron Man is awesome.
And then John here is also awesome.
Okay, so.
See you out and line.
And then Sam Gordon.
OK, so Bill Denman or this notes, it's looking good.
I on my knees or some Johnson angle was awesome.
And these two lines are by default.
Let's do something more sealed and lane and then some quantum of gas or Blenman.
Now it is looking good.
Okay, so something very, very interesting is going on here.
Let me show you.
If you will look carefully, salmon column, salmon column, salmon column.
And then again, salmon column.
So why am writing salmon column?
So it is just like English.
In English we use full stop in C++.
We use semicolon to tell the compiler.
This line is finished.
Okay.
So say McCollom is used to tell the compiler that this line is finished.
Okay, so what if I remove semicolon for example.
What if I will not write them.
And what will happen.
Compiler will show me edit.
Okay, so let's test it.
So remove the semicolon.
Build Bendern.
So the compiler is showing me an ad and you can read that a statement here.
An expected semicolon before she out.
OK, so we have to write some in column.
Otherwise, Compiler will show us error.
OK, so let us add seven column and then build and then.
So it is running perfectly fine.
So I want to read one thing here.
Do not
forget to ride Salmon Quillen, otherwise
compiler
will show us how to otherwise come, Bilad will show us edit.
OK, so I want to read this line.
But why?
Because later on, when you will see this code, you can easily figured out that it is important to
read semicolon.
Otherwise, compiler will show us error.
So I want to convey this message to you.
OK.
So let's be Landen.
OK, so the compiler is showing me errors.
And what is there statement?
You can read it here do was not declared in this code.
So basically, what is happening?
OK, so we warned that this land should be visible to us, but C++ compiler Shoura in ordered.
So how can we do that?
So the idea is very simple.
Just put two forward slash.
No compiler will ignore this line.
Okay.
So I can say this line, you can see this line, but C++ compiler cannot see this line.
OK.
So this thing is called comments.
OK, so this line is visible to me.
This line is visible to you, but this line is not visible to C++.
OK, so the compiler will ignore this line.
OK, so and.
And my court is perfectly fine, C++ is ignoring that line.
OK.
So one obvious question here.
Why we use comments.
We use comments because with the help of comments, our court becomes easier to understand.
So going forward, we will be writing lots of comments so that it becomes easier to understand whatever
court is doing.
OK, OK.
So how do I recommend.
Just put forward slash and write whatever you want.
So this is called single line comment.
OK.
So this is only a single line.
We can only write a single line.
So what if I want to make a paragraph as a comment, I want to write a paragraph as a comment.
So there are two ways.
So the first.
OK.
So the first way's.
Right.
Do for reflection in the beginning of each lane.
And the second ways.
So this is my paragraph.
The Second Way's multiple line comments just put a beginning and end.
So this is called multi lang comments.
So all this thing will be a part of comment.
So my entire paragraph will be a comment now.
OK, so let me demonstrate to.
And now whatever he will write.
It becomes a comment.
You can see here, Redan zero also becomes a comment, so for ending the comment, what will I do?
So this is my kind.
Okay, so let's.
Ballenden.
I put this.
Hundred percent correct.
OK, so that is all for this we do.
Thanks for watching.