To add to this - To reverse a string : reverse( str.begin( ) , str.end( ) ); so in case if you need your string in descending order you can use sort first and then reverse it OR if you're checking for a palindrome !
reverse( str.begin( ) , str.end( ) ); this performs:: so in case if you need your string in descending order you can use sort first and then reverse it
The girl was wrong for one point she said string end with terminating character '\0' but it character array which ends with '\0' Correct me if i am wrong. The guy has really good teaching skills
sir i have actually no words to salute your teaching style and your knowledge----------brilliant material i got from your video.....plzzzz keep it up and always us this types of videos😇😇😇
Aman Bhaiya your team is doing a great job, the way the tutors of apna college teaching us is a revolutionary way of teaching a programming language. thanks
Why am i crying.. bhaiya my emotional quotient is very low and the intrinsic monotonicity of video lectures which are loaded on us for nothing but completion of JEE syllabus plus my environment are disturbing... I'm good in studying but i just cant take this shit anymore bhaiya... At least that's what I thought before your video came! Thankyou bhaiya im seeing the bigger picture now Ps. Im gonna open my own school for . everyone when im your age! You'll see! Pps: bhaiya im typing this for the second time..
@@pandey2818 that's awesome prachi! I wanna open a school where children of all societies, condition will learn to respect one another.. i mean beyond societal and economic barriers.. Cuz i think wohi most imp seekh hai right?
You're really legend Excellency.... I really appreciate your great efforts.... Your lecture is really highly conceptual ,Excellent work.... "Apna college"is being making programming very simple in true sense... Great contribution..
I have a doubt sir at 9:55 min when you added content to string abc with spaces then as u taught it should only output first word then how is it showing all words along with spaces when we haven't used getline function .. pls reply sir
Actually bhaiya ne galat boldiya tha vahaan. We can add space while taking input in double quotes. Eg:1) string str = "i am a peaceful soul"; 2) string str = "IamPeacefulSoul"; No problem in these two cases.. But while accepting the input from the user(i.e., like cin>>str;) in this case the compiler don't accept spaces. So you have to use getline(cin, str); instead of cin>>str; to input that string from user with spaces included. I hope you understood.
Hello sir, Your teaching is excellent but sir yor use all functions in different different programs my opinion is all functions is use in a single program then students understand better..🙏
may be these videos were shot before starting apan college channel ig.. they were thinking to put all these on apni kaksha.. then suddenly changed their mind. and made a new channel . (I am not sure, Just guessing it)
Class 12 Python will be uploaded on Apni Kaksha Channel
@Sejal Kesarwani yes
By the time you see my comment, it would have been posted
Abhi nhi aya
@@shashibalasrivastava5973 you are too fast
😆lol 🤣
Wait for sometime, it will be there
Kb hogi bhaiya
Waiting...
Strings : 0:10
Coding Strings : 1:55
Different type of ways to use string : 2:58
- getline() function : 4:30
- append() two strings : 6:00
- clear() : 9:30
- compare() : 10:20
- empty() : 12:30
- erase() : 13:51
- find() : 15:40
- insert() : 16:45
- lenth() or size() : 17:55
- substr() : 19:10
- stoi() : 20:10
- to_string() : 20:55
- sort() - 21:40
P.S - nincompoop meaning - a foolish or stupid person
thanks a lot!!! :)
@@sleepypanda7172 Welcome
Bhaisahab gazab ki megnat kre ho be 😂😂😂👍
thnx 😇🙏🤞
bahut vele lgte ho
Rishabh is a peaceful soul x)
My takeaway - FAMILY means FATHER AND MOTHER I LOVE YOU :) :)
@Manan Kuraware yes, for the exam called LIFE ?
@Manan Kuraware koe na 😂
bhai,behen,dost wagaira?
@ManKura je baat
Great ❤️❤️❤️
To add to this -
To reverse a string :
reverse( str.begin( ) , str.end( ) );
so in case if you need your string in descending order you can use sort first and then reverse it OR if you're checking for a palindrome !
reverse( str.begin( ) , str.end( ) );
this performs::
so in case if you need your string in descending order you can use sort first and then reverse it
Do we need to include the algorithm header file here?
@@misaaldsouza use #incude no need to include anything else
ua-cam.com/video/5FsIa4Mp3ho/v-deo.html
ua-cam.com/video/QTaiF8N6i3Y/v-deo.html
Best way to give a overview of analogy and concepts in a short time. I have found it very useful.
The girl was wrong for one point she said string end with terminating character '\0' but it character array which ends with '\0'
Correct me if i am wrong. The guy has really good teaching skills
Yeah bro u are right
c type char array ends with \0 and strings end with \0 as well.
@@aryanshrivastava8312 what c type char array? you mean as in c lang? what about c++?
@@mohammadafnan8741 in c++ also. Terminating index is usually ended by \0 only.
ua-cam.com/video/QTaiF8N6i3Y/v-deo.html
sir i have actually no words to salute your teaching style and your knowledge----------brilliant material i got from your video.....plzzzz keep it up and always us this types of videos😇😇😇
It took nearly a month for me to search for all these string functions from different sites . And these man explained it all in just 30 min !!
Code is Here:
#include
#include
using namespace std;
int main(){
cout
I was having doubt and searched this now only
And here video has been made for u 😂😂
actually he is very fast explain
All the concepts but mem is well define all concepts
character arryas also end with '\0' as per your previous (char array) video. Kindly clear this confusion.
yes you are right.
Absolutely
yes
True
Bhai \0 phele se nahi hota he lana padta he👍
When God come to help poor students ❤️
all subtopics are covered in this video , thanks sir i got a lot of things from here.
Bhaiya you are the best teacher in apna college....
I love the Extro and intro of video super music 🎵🎶 and bhai is fast and furious in talking
In 9:43 timestand when string abc input is taken why the whole string was obtained as output inspite of not taking getline function
yes same question
@@fitnessislifelong I think getline is used when we take input from user, not when we directly assign🙃
Aman Bhaiya your team is doing a great job, the way the tutors of apna college teaching us is a revolutionary way of teaching a programming language. thanks
sir G, maza agya prh kr apki video se... keep it up!! sara esa seedha demag me beth gya 😊
It’s late dude😅 but on the 2nd thought iam gonna see it
Thanks a lot for saving my lot of time .This lecture is very helpful for me .Thank you
Smart work is directly proportional to success
Apni koi string thi randomsy kaisy randomsy (21:39) OP bhaiya 💥💥
Only thing i got in this lecture
"Let's save it.....run it"
one of my great experince to attend this one lecture throught outt hole course till date
11:30 my output is completely different. while comparing the string it either shows -1 or 1 if you put any value in the string
yes exactly
I think its because difference of operating stystem
@ALCO BEAST try comparing abc with abcdefgh you will recieve 5 as output
ua-cam.com/video/QTaiF8N6i3Y/v-deo.html
if we will take s2=abcd.......wxyz then only we will get 23 as an output
Really a very nice Illustration of each and every point of string 🙏
Shukr hai notes aagy iske😁
Tooo good it help me to solve questions in hackerrank👍👍👍👍👏👏👏👏👏
Great video and effort sir aur Chandigarh University ke against jane ke lie thanks, Thnks for ur support bhaiya
while( I'm_alive ){
cout
Wrong code
Error "I'm alive" not defined, are you really alive?
What should I do?
@@negasonicteenagewarhead while( im_alive )
as the variable in while loop should be of one name separated with underscores not spaces
But it's still giving error
seedhi baat no bakwaas, thankyou you guys are amazing.
Why am i crying.. bhaiya my emotional quotient is very low and the intrinsic monotonicity of video lectures which are loaded on us for nothing but completion of JEE syllabus plus my environment are disturbing... I'm good in studying but i just cant take this shit anymore bhaiya... At least that's what I thought before your video came! Thankyou bhaiya im seeing the bigger picture now
Ps. Im gonna open my own school for . everyone when im your age! You'll see!
Pps: bhaiya im typing this for the second time..
i also have dream to open my school where the studies will be fun . and their will be no comparision between students. good luck
@@pandey2818 that's awesome prachi! I wanna open a school where children of all societies, condition will learn to respect one another.. i mean beyond societal and economic barriers..
Cuz i think wohi most imp seekh hai right?
Very Nice😇🤟Just ignore your disturbing environment, & keep going, keep hustling little brother😇🤟Wishing you all the best for all your upcoming exams🙌👍
think big
@@thethirdperson7039 YAA THATS VERY IMPORTANT ALL THE BEST
Thank you so much. I used to hardly dont know about how to use string, now because I learnt from your videos I know it and understand it better
You're really legend Excellency....
I really appreciate your great efforts....
Your lecture is really highly conceptual ,Excellent work....
"Apna college"is being making programming very simple in true sense...
Great contribution..
Awesome bhaiya,thank you so much for this to be free
Bhaiya mzaa aagya aapse pdh ke
Jo chiz is lecture mein sabse acche se yaad hui was the word - "nincompoop".😂😂
But anyway lectures are best.❤🔥❤🔥❤🔥👌👌
Ye teacher thapa technical ka hai i think...boom boom krte hai...😀
serious bhaiya , you are vere level..huge respect to ur efforts
@ayush thank u sir u r efforts make one day of first step of success..
Thank you Sir & Ma'am😇👍🏻🙏🏻👏🏻 It really Helpfull☺
Hello bro
Gajab timing hae yaar !!!
App ka bahut bahut dhnyavad 🥰
Let save it run it! Is in the loop statement
It's very interested......... thank you 🙏🏻🙏🏻🙏🏻
Thank you to the guys who is teaching in this video...you are just amazing sir❤ur teaching skills are awesome👌👏
Thank You so much bhaiya... and #ApnaCollegeTeam
ye banda saccha programmer hai, isko string input lene me maja aata hai
aaplogg boht acha kaam krre .... aise logo ki jarurat hai ...
best explanation
Can't thank you enough for such amazing video.
I have a doubt sir at 9:55 min when you added content to string abc with spaces then as u taught it should only output first word then how is it showing all words along with spaces when we haven't used getline function .. pls reply sir
Actually bhaiya ne galat boldiya tha vahaan.
We can add space while taking input in double quotes.
Eg:1) string str = "i am a peaceful soul";
2) string str = "IamPeacefulSoul";
No problem in these two cases..
But while accepting the input from the user(i.e., like cin>>str;) in this case the compiler don't accept spaces.
So you have to use getline(cin, str); instead of cin>>str; to input that string from user with spaces included.
I hope you understood.
@@gsmdfaheem Thanks for clearing the doubt👍
@@krishnasingh2520 My Pleasure
ua-cam.com/video/QTaiF8N6i3Y/v-deo.html
@@gsmdfaheem well explained brother, thnx
very nice explanation about string.Thank you
Bhaiya plzz launch Web development course soon...We are eagerly waiting for that..
Yes true we are waiting
I use every function without including .
20:10 Alahimdulillah moment🙏
I liked the Strings in comparison of all ❤️
Hlo bhai
Thank You so much Sir ,Due to this video i was able to solve string based question in TCS NQT Exam.
Could you able to use string function because I have heard from so many sources that C++ STL is not allowed in TCS coding round
@@AyushSingh-qr3go hello bro i was allowed to include string header file. My code was successfully compiled and clear all test cases.
@@vishalchauhan9832 ok thanks 😊
@@AyushSingh-qr3go you are welcome🙂
ua-cam.com/video/5FsIa4Mp3ho/v-deo.html
Love your video ❤️❤️❤️
Great video bhaiya😉😉😉
Pls provide us some extra questions sheet for each lecture .
By the way you and your team is doing great work .
they have 375 DSA excel sheet now
append clear compare empty erase find insert length substr stoi to_string sort
Bhaiya you are everything for me
Thank u aman bhai and mam best explanation😍
First😁😁
Time complexity 10sec
@@beastman1927 can you please explain 🙄
@@negasonicteenagewarhead it means finite seconds
nincompoop reminded me of "Three Men in a Boat"
C or C++ differences one vedio or those who want it hit the like
Thank you sir
For your efforts for us
🔥🔥🔥
Thank you soo much sir for this
4:35 uske liye kya kar sakte hai, kuch nahi kar sakte😂😂😂😂👌
Hello sir,
Your teaching is excellent but sir yor use all functions in different different programs my opinion is all functions is use in a single program then students understand better..🙏
11:14
cout
If the result is greater than then it would be any positive value depending on compiler similarly any negative value fr less than
Excellent ❤️
great explanation loved it
The only things I observe tutor in this video is a good coder not a good teacher 😔😔
We want all lectures from Microsoft wali didi ☺😍
Very Great lecture and quite helpful . I've a doubt that what to do if we have to sort string when both uppercases and lowercases are there in string.
Thanks brother ..well explained..
Maza aa gya thanks man❤️❤️
Empty () = 12:34
also be done like this ---------- s1+=s2;
cout
Aman bhaiyya jindabad!
0:03 he said apni kaksha on Apna college that's why he's india's one of the best programmer xD
Bhai....XD XD XD
may be these videos were shot before starting apan college channel ig.. they were thinking to put all these on apni kaksha.. then suddenly changed their mind. and made a new channel . (I am not sure, Just guessing it)
Sir. excellent thank you so much
what find() returns if it cannot find the character or word we are looking for?
mine is returning some big integer value.
You all are the best ...!❣️ awesome teaching... thank you so much
Thanks a lot bhaiya....🔥🔥
Bhaiya aap Python kb upload karenge
Such a great work
Great content 🙏🙏🙏™️
Who notice that ,the repetitive common word " hena" again and again 🤣🤣🤣😂😂😂😂😂😂😂😂😂
ya very funny
You are lagging behind your timeline.
good explanation sir
u r awesom sir.
Kya bawaal tareeke se samjhaya hai bae❣️❣️🤗🤗❣️🤣
10:17
really helpful thank you
Very nice sir g
All lectures are great but pls decrease the background audio