1
00:00:03,040 --> 00:00:03,700
Hi, guys.

2
00:00:03,940 --> 00:00:04,570
Welcome back.

3
00:00:05,230 --> 00:00:07,420
In this we do we will learn two more things.

4
00:00:08,170 --> 00:00:09,880
OK, so let's get started.

5
00:00:11,380 --> 00:00:12,880
First, let us write some called.

6
00:00:15,780 --> 00:00:19,950
Pashing, glued your stream.

7
00:00:22,820 --> 00:00:28,370
Using namespace SDD Samon column.

8
00:00:30,110 --> 00:00:30,890
And man.

9
00:00:35,520 --> 00:00:40,970
And then I'm having done zero, then semicolon.

10
00:00:42,600 --> 00:00:44,340
OK, so just a second.

11
00:00:55,690 --> 00:00:57,230
OK, so let us right some good.

12
00:00:58,340 --> 00:01:00,050
Let us print something, see out.

13
00:01:03,270 --> 00:01:07,480
Iron Man is awesome.

14
00:01:10,670 --> 00:01:13,520
And then seven column C-code.

15
00:01:17,040 --> 00:01:18,030
John Cena.

16
00:01:20,940 --> 00:01:21,740
Is also.

17
00:01:24,310 --> 00:01:24,820
Awesome.

18
00:01:26,470 --> 00:01:27,390
And then Simon Cowell.

19
00:01:29,140 --> 00:01:30,700
OK, so Verlinden.

20
00:01:35,940 --> 00:01:37,110
Iron Man is awesome.

21
00:01:37,140 --> 00:01:39,000
And then John here is also awesome.

22
00:01:39,030 --> 00:01:39,630
Okay, so.

23
00:01:42,150 --> 00:01:45,180
See you out and line.

24
00:01:45,270 --> 00:01:46,180
And then Sam Gordon.

25
00:01:46,260 --> 00:01:51,120
OK, so Bill Denman or this notes, it's looking good.

26
00:01:51,600 --> 00:01:53,550
I on my knees or some Johnson angle was awesome.

27
00:01:54,450 --> 00:01:56,340
And these two lines are by default.

28
00:01:57,540 --> 00:02:05,770
Let's do something more sealed and lane and then some quantum of gas or Blenman.

29
00:02:09,280 --> 00:02:10,460
Now it is looking good.

30
00:02:13,760 --> 00:02:16,580
Okay, so something very, very interesting is going on here.

31
00:02:16,820 --> 00:02:17,500
Let me show you.

32
00:02:20,270 --> 00:02:26,210
If you will look carefully, salmon column, salmon column, salmon column.

33
00:02:26,300 --> 00:02:27,890
And then again, salmon column.

34
00:02:28,970 --> 00:02:31,400
So why am writing salmon column?

35
00:02:32,390 --> 00:02:33,500
So it is just like English.

36
00:02:34,100 --> 00:02:37,250
In English we use full stop in C++.

37
00:02:37,280 --> 00:02:40,040
We use semicolon to tell the compiler.

38
00:02:40,400 --> 00:02:41,330
This line is finished.

39
00:02:41,890 --> 00:02:42,170
Okay.

40
00:02:42,890 --> 00:02:46,940
So say McCollom is used to tell the compiler that this line is finished.

41
00:02:47,570 --> 00:02:50,210
Okay, so what if I remove semicolon for example.

42
00:02:50,210 --> 00:02:51,610
What if I will not write them.

43
00:02:51,980 --> 00:02:52,760
And what will happen.

44
00:02:53,510 --> 00:02:55,070
Compiler will show me edit.

45
00:02:56,060 --> 00:02:57,260
Okay, so let's test it.

46
00:02:58,760 --> 00:03:00,110
So remove the semicolon.

47
00:03:01,120 --> 00:03:02,000
Build Bendern.

48
00:03:04,780 --> 00:03:09,010
So the compiler is showing me an ad and you can read that a statement here.

49
00:03:10,850 --> 00:03:13,320
An expected semicolon before she out.

50
00:03:13,510 --> 00:03:15,630
OK, so we have to write some in column.

51
00:03:15,660 --> 00:03:17,490
Otherwise, Compiler will show us error.

52
00:03:17,990 --> 00:03:21,780
OK, so let us add seven column and then build and then.

53
00:03:25,100 --> 00:03:26,740
So it is running perfectly fine.

54
00:03:28,990 --> 00:03:30,430
So I want to read one thing here.

55
00:03:33,260 --> 00:03:33,830
Do not

56
00:03:36,420 --> 00:03:45,140
forget to ride Salmon Quillen, otherwise

57
00:03:47,330 --> 00:03:48,170
compiler

58
00:03:50,870 --> 00:03:57,440
will show us how to otherwise come, Bilad will show us edit.

59
00:04:01,210 --> 00:04:03,210
OK, so I want to read this line.

60
00:04:04,150 --> 00:04:04,810
But why?

61
00:04:05,530 --> 00:04:11,170
Because later on, when you will see this code, you can easily figured out that it is important to

62
00:04:11,170 --> 00:04:11,940
read semicolon.

63
00:04:12,040 --> 00:04:13,720
Otherwise, compiler will show us error.

64
00:04:14,170 --> 00:04:15,940
So I want to convey this message to you.

65
00:04:16,230 --> 00:04:16,550
OK.

66
00:04:17,020 --> 00:04:18,310
So let's be Landen.

67
00:04:21,970 --> 00:04:23,840
OK, so the compiler is showing me errors.

68
00:04:24,040 --> 00:04:25,060
And what is there statement?

69
00:04:26,170 --> 00:04:29,380
You can read it here do was not declared in this code.

70
00:04:30,010 --> 00:04:31,330
So basically, what is happening?

71
00:04:34,700 --> 00:04:40,450
OK, so we warned that this land should be visible to us, but C++ compiler Shoura in ordered.

72
00:04:41,120 --> 00:04:42,440
So how can we do that?

73
00:04:42,950 --> 00:04:44,240
So the idea is very simple.

74
00:04:44,690 --> 00:04:46,400
Just put two forward slash.

75
00:04:47,850 --> 00:04:49,730
No compiler will ignore this line.

76
00:04:50,320 --> 00:04:50,560
Okay.

77
00:04:50,990 --> 00:04:56,060
So I can say this line, you can see this line, but C++ compiler cannot see this line.

78
00:04:57,110 --> 00:04:57,350
OK.

79
00:04:57,640 --> 00:04:59,440
So this thing is called comments.

80
00:05:02,670 --> 00:05:04,860
So this thing is called comments.

81
00:05:08,660 --> 00:05:10,820
OK, so this line is visible to me.

82
00:05:11,090 --> 00:05:15,290
This line is visible to you, but this line is not visible to C++.

83
00:05:16,020 --> 00:05:18,410
OK, so the compiler will ignore this line.

84
00:05:23,560 --> 00:05:24,960
OK, so and.

85
00:05:28,850 --> 00:05:33,020
And my court is perfectly fine, C++ is ignoring that line.

86
00:05:33,220 --> 00:05:33,450
OK.

87
00:05:35,330 --> 00:05:36,730
So one obvious question here.

88
00:05:36,890 --> 00:05:38,120
Why we use comments.

89
00:05:40,280 --> 00:05:45,020
We use comments because with the help of comments, our court becomes easier to understand.

90
00:05:45,980 --> 00:05:51,680
So going forward, we will be writing lots of comments so that it becomes easier to understand whatever

91
00:05:51,680 --> 00:05:52,430
court is doing.

92
00:05:53,880 --> 00:05:55,520
OK, OK.

93
00:05:55,590 --> 00:05:56,910
So how do I recommend.

94
00:05:58,200 --> 00:06:01,410
Just put forward slash and write whatever you want.

95
00:06:02,250 --> 00:06:08,910
So this is called single line comment.

96
00:06:10,190 --> 00:06:10,410
OK.

97
00:06:10,710 --> 00:06:12,240
So this is only a single line.

98
00:06:12,250 --> 00:06:13,650
We can only write a single line.

99
00:06:14,680 --> 00:06:20,230
So what if I want to make a paragraph as a comment, I want to write a paragraph as a comment.

100
00:06:20,980 --> 00:06:21,970
So there are two ways.

101
00:06:22,260 --> 00:06:22,780
So the first.

102
00:06:26,690 --> 00:06:26,990
OK.

103
00:06:27,340 --> 00:06:28,300
So the first way's.

104
00:06:29,720 --> 00:06:30,150
Right.

105
00:06:30,310 --> 00:06:32,840
Do for reflection in the beginning of each lane.

106
00:06:33,050 --> 00:06:34,040
And the second ways.

107
00:06:35,240 --> 00:06:36,290
So this is my paragraph.

108
00:06:36,350 --> 00:06:43,120
The Second Way's multiple line comments just put a beginning and end.

109
00:06:44,030 --> 00:06:46,700
So this is called multi lang comments.

110
00:06:47,390 --> 00:06:49,930
So all this thing will be a part of comment.

111
00:06:50,870 --> 00:06:53,470
So my entire paragraph will be a comment now.

112
00:06:53,700 --> 00:06:56,940
OK, so let me demonstrate to.

113
00:07:02,460 --> 00:07:03,790
And now whatever he will write.

114
00:07:05,570 --> 00:07:06,760
It becomes a comment.

115
00:07:09,500 --> 00:07:15,080
You can see here, Redan zero also becomes a comment, so for ending the comment, what will I do?

116
00:07:17,090 --> 00:07:18,260
So this is my kind.

117
00:07:18,600 --> 00:07:20,180
Okay, so let's.

118
00:07:20,210 --> 00:07:20,840
Ballenden.

119
00:07:24,940 --> 00:07:25,660
I put this.

120
00:07:25,690 --> 00:07:26,910
Hundred percent correct.

121
00:07:29,740 --> 00:07:31,600
OK, so that is all for this we do.

122
00:07:31,930 --> 00:07:32,800
Thanks for watching.
