Now, let's see some spring functions in C++.
So we have we can handle a lot of things in our daily life.
So we need to store a lot of names.
Lot of things in our program.
Lot of data which is campaigning that it does a group of characters, which are things in our program.
So in order to handle that, we use strings concept.
So we have a lot of indirect functions to manage.
Those things are like more than two things.
So these are some important function, and we need to include our special header file called.
Spring Arctic.
In our program, in order to make sure that our string functions are working properly.
So without any bait, let's move to that string functions them string and string function demo, which
will be the last topic of our today's session.
We do have a lot of string function.
So a static IP function as DSC by function is used to copy one string to another string.
So this will copy as to it's one thing to as one end of the string.
So suppose this is the case.
SD, RCA, we have on what function it will copy Estudo.
So it will not be that easy to do the end of string instrument.
So I will explain the second one that will be more easy for you to understand right now.
Submersed, S.1 is a spring guard.
Hello.
And yes, to you sustain record high.
Then when I'm executing SDR City and Swan Gomes two, yes, one becomes because he has one.
This will come.
Copy the value of S2 to the end officer, so I will soon become as strong to make them as strong equal
to hello.
Hi.
That is because it will not be a story to the end of S-1 after an.
Likewise, we had a lot of other functions.
It's generally an obvious one.
This will give that length of string a storm, so this is our last one.
If I'm giving a stateliness S1 managing you.
One two, three four, five five is that land of the Strip?
Then SDLC Ambassador Gomez, too, if those things are saying, then it will return zero if it is less
than zero, which means scene, according to the study, Emanuel supports what will come at first after.
Or talk about it, of course, it's happened, right?
So I was wondering, is this and is true?
Is this so what this is?
Well, this is a smaller less than.
OK, because this comes first.
So.
It will return less than simple, and if it this next leg bad comes first assessment and AFRICOM says
as to then it will be back greater than that and it will be returning value greater than zero.
So it will be have it helping us to take the president's initiative to extensive one thing is greater
than data, then it will return great events, even if it is less than that hosting it will return less
than two.
So similarly, we have other functions also, you can read more on this on documentation due to the
limitation of the time of this course, we can greatly jump to that and.
So here I have the program illustrating all these functions, which I have just explained.
So I have included I Ustream had a fire season ahead there for an hour, so talk to you about its springboard
that you identified.
So in case of C++, we will be using C-spine hydroplane.
Staffing shortages are so good, but in case of C++, it's better to use C string quartets.
Then we have a one Helo SDR to one.
So instead of requesting asylum and second string is one, then we have declared one more state.
This is a spring with just having no values at first.
No, no values on that.
So.
If they want to go be a star, one burst, you are three.
So I am clearing my console.
I am going to execute this program based off what I am for being a star won this year.
Three, Which means world first year three now as you are doing, is having no values.
So after copy there, step three should be having a value called world right because I am going to be
the value word from to string.
Without going to the output, actually, we are trying to identify the first do that, then we can see
that we couldn't see this is one.
Now we are engaged in ending SDR one and testing out to that.
Do you know how we can go and get DNA testing on unless you are two by using us DFC to differentiate
all these functions that defined insisting that xaviera using CS string quartets and reflect.
So here you can see.
Am galloping SDR to.
End of story.
So how is that a statement world is that second string?
So our goal of being able to then develop that is the question.
So what will be the output?
Hello, space?
What?
No way I'm going to use Sierra Leone function to calculate the length of a star one because I have created
a new string called Halo White.
What will be the length of it?
The possible predictive length will be one two three four five five characters yet.
And if I have five characters here in the world, so it will be any great.
It can be 11 if there is a space, but I don't think there would be a space included.
But let's see the output in action.
So let's go to the competition part of this program, how we can compare this program in C++ strings
start CPB and us in my program.
So it's compiled not slashing it out for the.
See, here we have all the best predictor.
We have.
OK.
Hello.
OK.
One small correction, therefore being instead of one bush yesterday, not as yet to test three.
So my output is just a small mistake.
So it would be hollow because S.T.A.R.T. is kind copy test.
You have three.
So my dear, please also help, right?
Then we have had our word because there is no space.
Also because it scoppi to the end of S.T.A.R..
So word is the hello world is that second string.
It's far better than no flushing.
So I low world is that financial strain that this that got concatenation of these two strings.
Then I have found that length of the string.
So it's 10 characters in total.
So there is that.
So our predict output and the exact output of the program is magic.
So I think you have some understanding regarding these concepts.
So you've done that research that would be your assignment for today.
In the section, you can have a research on strings on C++, learn more in build function and try to
learn or create more programs involving string.