1
00:00:01,960 --> 00:00:03,530
Hey, guys, what's up?

2
00:00:03,820 --> 00:00:08,480
So in this video, we will talk about inmate Saat function.

3
00:00:08,980 --> 00:00:14,140
OK, so we know Selection's art, we know what those bubbles are.

4
00:00:15,760 --> 00:00:23,020
But these two algorithms take time to implement, take time to implement.

5
00:00:24,160 --> 00:00:30,110
So what happened is this sorting thing, this sorting thing is very common.

6
00:00:31,150 --> 00:00:38,120
So since this thing is very common, C++ has given us an inbuilt function to so ordinary.

7
00:00:39,030 --> 00:00:41,870
So what we have to write, for example, this is an array.

8
00:00:42,880 --> 00:00:52,780
Offseason, so we just have to write Sade, a comma, a plus, and and our editor will get started.

9
00:00:54,100 --> 00:00:57,190
OK, so this is inbuilt Saadeh function.

10
00:00:57,820 --> 00:00:58,540
So let's see.

11
00:01:01,740 --> 00:01:06,400
So I have already made a file in the name of the families involved sort that ship.

12
00:01:07,140 --> 00:01:09,730
So I am taking the number of elements.

13
00:01:10,140 --> 00:01:14,650
So this is my input and I am printing at edit here.

14
00:01:15,240 --> 00:01:26,470
So what I need to do is I will write of a comma, a plus and and my error is now sorted.

15
00:01:26,800 --> 00:01:31,720
OK, so is the name of the error and is the size of the error.

16
00:01:32,040 --> 00:01:34,360
OK, so I get sorted.

17
00:01:34,860 --> 00:01:35,370
Let's see.

18
00:01:37,290 --> 00:01:40,090
So the compiler is giving me error and what is the error?

19
00:01:40,500 --> 00:01:43,170
So the error is compiler don't know what is.

20
00:01:43,950 --> 00:01:44,340
Why?

21
00:01:44,580 --> 00:01:45,240
Because.

22
00:01:48,910 --> 00:01:52,970
So Combinat is giving me error at line number 14.

23
00:01:54,310 --> 00:01:58,780
It is saying that, hey, buddy, I don't know what do you mean by sort?

24
00:01:59,500 --> 00:02:06,100
So what happened is just like CNN out, they both are defined in a header file called Ustream.

25
00:02:06,790 --> 00:02:11,980
Similarly, Sard function is defined in a file called algorithm.

26
00:02:14,320 --> 00:02:20,440
So we have to include this header file into our code so that this line works.

27
00:02:21,330 --> 00:02:28,750
OK, so the functionality of site is defined in a header file called algorithm.

28
00:02:29,200 --> 00:02:33,780
So we have to include that header file into our code.

29
00:02:34,120 --> 00:02:36,370
So algorithm.

30
00:02:40,260 --> 00:02:41,670
Now, let us come back again.

31
00:02:44,920 --> 00:02:52,030
In a number of elements out of five, and that elements are five, four, three, two and one, this

32
00:02:52,030 --> 00:02:52,780
is my outfought.

33
00:02:53,990 --> 00:03:01,230
OK, so disheartening things look OK, so why we need to include this hydrofoil, because the functionality

34
00:03:01,230 --> 00:03:07,430
in the definition of dysfunction has been defined in this file and we have to include this file into

35
00:03:07,430 --> 00:03:11,160
our code to use this inbuilt SART function.

36
00:03:11,910 --> 00:03:12,350
OK.

37
00:03:14,210 --> 00:03:16,660
OK, so let's discuss one last thing.

38
00:03:19,390 --> 00:03:28,990
So what happened is we have many other friends, we have many halophiles, for example, we have harshing

39
00:03:29,000 --> 00:03:29,470
Claude.

40
00:03:31,280 --> 00:03:32,120
ASTM.

41
00:03:34,240 --> 00:03:46,300
We have seen that we have algorithm, we have hash included vector, we have hash included stack, we

42
00:03:46,300 --> 00:03:49,110
have hash included kill and many more.

43
00:03:49,450 --> 00:03:52,020
So we have many header files.

44
00:03:54,130 --> 00:03:55,950
OK, so we have many other files.

45
00:03:56,200 --> 00:03:59,170
So it is not possible to remember each one of them.

46
00:04:00,290 --> 00:04:06,560
OK, so for example, here, if I don't know and what I did find this sort function is defined, then

47
00:04:06,560 --> 00:04:09,210
I won't be able to use this sort function.

48
00:04:09,710 --> 00:04:17,269
OK, so there are many header files in C++ and it is not possible to remember the names of all the other

49
00:04:17,269 --> 00:04:17,680
files.

50
00:04:18,290 --> 00:04:23,290
So we have something called Master Header File.

51
00:04:26,480 --> 00:04:35,700
So the name of this master header file is made as S2, DC plus plus dot edge.

52
00:04:36,300 --> 00:04:43,610
OK, so if you will include this header file in your code, then all the header files that exist in

53
00:04:43,610 --> 00:04:46,010
C++ will get included.

54
00:04:47,620 --> 00:04:48,880
OK, so one more time.

55
00:04:51,060 --> 00:04:59,790
So if you will include this file in your code, then all the other files in C++ will be included.

56
00:05:00,120 --> 00:05:03,430
That is the reason we call it master header file.

57
00:05:04,020 --> 00:05:06,090
And why do we need this file?

58
00:05:06,360 --> 00:05:11,820
Because there are many other files in C++ and we cannot remember all of them.

59
00:05:13,000 --> 00:05:14,740
So what we will do now is.

60
00:05:16,190 --> 00:05:20,450
We will remove both of them and we will right here.

61
00:05:24,410 --> 00:05:31,370
We will right here, bates' as Tunisie Placeless dot edge.

62
00:05:31,970 --> 00:05:34,190
OK, so this is Mostro had to file.

63
00:05:34,730 --> 00:05:38,120
From now on we will use this header file in our call.

64
00:05:38,350 --> 00:05:38,780
OK.

65
00:05:41,760 --> 00:05:46,300
So a number of elements are five and the elements are three to one, four and five.

66
00:05:47,070 --> 00:05:52,830
OK, so one, two, three, four, five is getting better and the compiler is not showing us error.

67
00:05:53,130 --> 00:05:58,210
OK, so I have not included the murder file and the compiler is not showing us error.

68
00:05:58,230 --> 00:05:58,560
Why?

69
00:05:58,830 --> 00:06:05,670
Because this Mastretta file has included all the other files of C++ language.

70
00:06:05,850 --> 00:06:12,900
OK, so that is the reason this so our function is not giving us added a similarly this scene and see

71
00:06:12,900 --> 00:06:18,960
our function are also not giving us an ID because I ostrem file is also included in this file.

72
00:06:21,260 --> 00:06:24,420
OK, so from now on, I will use this to.

73
00:06:26,020 --> 00:06:28,090
OK, so this is it for this video.

74
00:06:28,150 --> 00:06:28,750
Thank you.

