Hey Guys, if you want more such tech educational videos on this channel then please support me by subscribing to this channel & also share it with your friends as it helps me create more content just for you ✌
brother,,U deserve more subscribers,,and publicity,,i will do my part to achieve it,,thanks for ur free quality content and i am very much confident in c++ programming only because of ur content...once again thank you somuch brother.. P.Dinesh
Hey Dinesh, thank you so much bro for such a wonderful comment & your support is the biggest help for the channel 😊 I'm glad to hear this from you ✌️ Also we just crossed 50K subs so stay tuned for the surprise 😉
@@SimpleSnippets it's indeed a nice part of you in replying ur subscribers..coz it makes us feel good that we have some relationship with people like you.that makes the difference in getting knowledge brother..bye
@@dinesh.p8642 yes bro, I value all my subscribers a lot & pretty much reply to all of them. Its because of all of your support that our channel has grown so much bro :-)
Thank you so much Ramish for the compliments. And yeah I get that underrated comment quite often😥 IDK how to reach to more users. Please do share the content with your friends buddy, will be really helpful ✌️
@@SimpleSnippets I am a uni student and I ask everyone who faces difficulty regarding anything, to visit your channel to see if their queries are solved. Keep up the good wor k.
Thank you buddy. Glad to hear this from you. please do share this videos and our channel with your friends too bro, thats the biggest help and support 😇
Thank you for the positive feedback buddy. Please do share the video with your friends and contacts as well. Thats the biggest help and support you can provide to all 😇✌
Thank you bro! No need to spend money on fundamentals. There are many resources now a days. Also do checkout my data structures and algorithms course also. You'll love it ✌️
That's really amazing to know Prajakta 😁 glad to hear this from you. Please do share this videos with your friends also & All the best for your exams ✌️
+Nikhiil Rajesh hello Nikhil, thank you so much for your positive feedback. Really happy to hear that you liked this video. Please do share the video with your friends and contacts and keep sharing the knowledge 😇✌️
Thank you so much bro🙏 Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇
You're welcome buddy. Do share the video with your friends too 😇✌️ Also checkout my channel, there's a lot of informational videos you might find helpful 😇✌️
I'm glad you like it. Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇
+Nash Hash hey Nash, thank you so much buddy for such wonderful comments and responses on many of my videos. This really motivates me a lot to make more video tutorials. Keep up the support buddy ✌️😇
Thank you so much buddy. I'm glad you liked the video. Please help me by sharing it with your friends and contacts buddy. That will be the best support for our channel 😋😊
+Karthik keyan you're welcome buddy. Happy to hear that you liked this video. Do share the video with your friends and contacts and keep sharing the knowledge 😇✌️
Thank you so much for the positive feedback. And yes I'll surely try to slow down a bit. Sometimes I don't realize when I go with the flow about my speed 😅
First of all if you explain in Urdu or Hindi it will be good for everyone.. Second thing if we have to read the things which are written on the screen so we can also read it easy the purpose of watching is to get any explanation
Another great video. Again Thank you for your time. I do have a question? I am using code::Blocks and when i make a new .cpp file and close the other files the compiler tries to run the ones that I had closed and not just the one I have open. I am using the same project for all files. The only way I can get it to work right is us /* */ on last file I closed and the new file will run ok. Is there an easier way.
I have a doubt, consider a function template which adds two numbers, and we want to take in those two numbers from the user, but first we need to store those numbers in some variables, so what should be the return type of those variables ? If we choose the return type as "int" but the user enters a "float" value, then only the integer part of the float data will be stored. So how to make use of templates to detect and store the data type of the entered data ?
The return type should be the generic type (that is - 'T' or any other letter that you use to resemble the generic type) so that the program will automatically consider the type entered by the user at runtime :-)
If we want to check two nos. Which is greater, if two nos. Are of different data types say int and float then we don't know what will be the return type of the template function. I want to know if this can be achieved then how?
Asslam o alaikum sir, mjy aik bt ki smj nu I apny int or double of kese combined Kiya aur float ko miss ku Kiya aur ink nmbrs int double Mila bs .5 ka kese Aya plzz clear soon
I have a scenario where I need to have 3 overloaded functions.. double ConvertValues(double dValue); double ConvertValues(char* sValue) double ConvertValues(wchar_t *wValue) For char and wchar_t cases I assume values are coming as string and stored in it, I need to convert it as values and then do appropriate calculation, If double, I can directly send it to the computation.. Can this be done in Function template?
Hey Guys, if you want more such tech educational videos on this channel then please support me by subscribing to this channel & also share it with your friends as it helps me create more content just for you ✌
brother,,U deserve more subscribers,,and publicity,,i will do my part to achieve it,,thanks for ur free quality content and i am very much confident in c++ programming only because of ur content...once again thank you somuch brother..
P.Dinesh
Hey Dinesh, thank you so much bro for such a wonderful comment & your support is the biggest help for the channel 😊 I'm glad to hear this from you ✌️
Also we just crossed 50K subs so stay tuned for the surprise 😉
@@SimpleSnippets it's indeed a nice part of you in replying ur subscribers..coz it makes us feel good that we have some relationship with people like you.that makes the difference in getting knowledge brother..bye
@@dinesh.p8642 yes bro, I value all my subscribers a lot & pretty much reply to all of them. Its because of all of your support that our channel has grown so much bro :-)
Bhai tm c++ ka playlist Kyu Nhi banate mujhe sab topic dhund ke padhna padhta hai
This channel is extremely underrated. Good job (y)
Thank you so much Ramish for the compliments. And yeah I get that underrated comment quite often😥 IDK how to reach to more users. Please do share the content with your friends buddy, will be really helpful ✌️
@@SimpleSnippets I am a uni student and I ask everyone who faces difficulty regarding anything, to visit your channel to see if their queries are solved. Keep up the good wor
k.
Thank you so much bro 😇✌️ this means a lot to me. Keep sharing and keep up the support ✌️
Exactly!
Every video, I watch, I will gonna say Tanmay Sakpal ki Jai 😅 I don't get tired watching your videos man what quality hats off..
Thank you so much 😀
Wow ...its so catchy....the concept are on point.....he deserves more subscribers ...
Thank you so much Vivek ♥️
Hopefully with your support our channel will grow more 😊
Do share the video with your friends too ✌️
I guess if you even do not specify the it will work. Just have to mention two parameters of the same datatype.
Yeah you need to be promoted sir, Hats off .
Thank you buddy. Glad to hear this from you. please do share this videos and our channel with your friends too bro, thats the biggest help and support 😇
Super. Very intuitive and catching. I will see all your videos
That's amazing to know buddy 😊
Very happy to hear this from you. Hope you like them all and if you do please share them with your friends too 😊✌️
I'm seeing aLL the videos of c++,sir.
but you are osm sir,
You are giving the Best to the students
Most welcome my friend ♥️
Clearly understood from your stuff.Thank you so much Tanmay .Very thanks......
Most welcome Purva 🤟 glad to hear this from you. I would request you to please share the videos with your friends too 😋
u deserve way more views and subs..
Thanks bro 😊. The only way this can happen is if you help by sharing the videos with your friends buddy 😊✌️
Thank u so much, I understood very well. You explained it in such a perfect way
Thanks for the informative videos , You are giving your best thanks for that also
Thank you for the positive feedback buddy. Please do share the video with your friends and contacts as well. Thats the biggest help and support you can provide to all 😇✌
Great content and im wasting thousands on this courses outside...this is very useful chanel i am learning c++ from your videos
Thank you bro! No need to spend money on fundamentals. There are many resources now a days. Also do checkout my data structures and algorithms course also. You'll love it ✌️
bro you are really awesome really
ur all videos are juz fab ,hope so it will help mi in pracs exam
That's really amazing to know Prajakta 😁 glad to hear this from you. Please do share this videos with your friends also & All the best for your exams ✌️
Tanmay sir Op..!!!
tomorrow is my sem exam and you helped a lot thankyou
That's great to know bro. Please do share the video with your friend too 🤘
Bro you helped me a lott tomorrow my PPT presentation is there
Thanks for explaining in detail.... 🤗
amazing video brother
love you broooooooooooooooo......................, superrrrrrrrr
Great concept explained very well!
+Nikhiil Rajesh hello Nikhil, thank you so much for your positive feedback. Really happy to hear that you liked this video. Please do share the video with your friends and contacts and keep sharing the knowledge 😇✌️
Simple English made me understand the concept
Very nice vedio
Thank you so much Kanchana. Glad to hear this feedback from you 😇 Please do share the videos with your friends too 😇
Perfect and best content 👌thanks a lot brooooo💥💥💥
Thank you bro 👍❤️
you are the best.......masum
this guy is amazing yall
Thank you so much bro🙏 Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇
superb bro💟
Thank you so much brother. Please do share the video with your friends ✌️😇
Thank you sirr
Very excellent explanation ...
First liked, then watched
Hahah Thank you Sai ✌
seriously boss, that's two good
Thanks bro 😊 I would request you to please share the video with your friends too ✌️ that'll be the best help ✌️
Really appreciate that 😉
Super helpful!
Glad it was helpful!
Thanks for this amazing video.
Glad you liked it!
Sir your teaching method is very well but teach it slowly mean your speed is high Thank you
I finally learned function templates here, and I couldn't learn it by reading Stroustrup's book!
One question: Is there any change to this in C++ 20?
Luv u sir
great video, precise explanation thanks a lot
seriously man.! you are the best.!!! :))
Most welcome my friend ♥😇 Your compliments & support means a lot. Please do share the video with our friends too✌
Great video as always!
This is the first time I have to actually slow down a TH-cam video.
Simply awesome!!!
Glad you liked it! Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇
Excellent!
keep up the good work
Thanks buddy! please do share the video and our channel with your friends too. Thats the biggest help and support 😇
Thanku❤️🙏🏻
Thank you so much buddy. It would mean a lot if you could please share our channel and videos with your friends too ✌
@@SimpleSnippets yes...sure.... 😊😊🤗
Very well explained ! Thanks :)
Thank you so much bro 😇 please do share the videos with your friends and contacts. That'll be the best help and support for everyone ✌️
@@SimpleSnippets Don't worry, I'm surely sharing this channel with my friends. ☺️
Thank you so much bro 😇✌️
Thanks 😊
Thanks bro🔥👍👊
Thank you sir
You're welcome buddy. Do share the video with your friends too 😇✌️
Also checkout my channel, there's a lot of informational videos you might find helpful 😇✌️
Thank you so much ❤️
You’re welcome 😊 Please do share the videos and our channel with your friends if you want to genuinely support me & our channel!✌😇
it's really good
I'm glad you like it. Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇
@@SimpleSnippets definetly
Best videos
+Nash Hash hey Nash, thank you so much buddy for such wonderful comments and responses on many of my videos. This really motivates me a lot to make more video tutorials. Keep up the support buddy ✌️😇
The peace at the end 🤦🏻♂️🤦🏻♂️😂😂
nice one bro !!!
Thank you so much buddy. I'm glad you liked the video. Please help me by sharing it with your friends and contacts buddy. That will be the best support for our channel 😋😊
Ur too very good at explaining .......... but slower ur pace . U would be awesome
Will keep this in mind and work on it 😊
You are toooo crazey man...
Hehe why so?
nice bro
+Karthik keyan you're welcome buddy. Happy to hear that you liked this video. Do share the video with your friends and contacts and keep sharing the knowledge 😇✌️
Best video. But you should speak slowly.
Thank you so much for the positive feedback. And yes I'll surely try to slow down a bit. Sometimes I don't realize when I go with the flow about my speed 😅
Your slow bro
He's passionate. My talking speed is also high when I talk about something I like.
1000th like
Wow ❤️✌️
First of all if you explain in Urdu or Hindi it will be good for everyone.. Second thing if we have to read the things which are written on the screen so we can also read it easy the purpose of watching is to get any explanation
Another great video. Again Thank you for your time. I do have a question? I am using code::Blocks and when i make a new .cpp file and close the other files the compiler tries to run the ones that I had closed and not just the one I have open. I am using the same project for all files. The only way I can get it to work right is us /* */ on last file I closed and the new file will run ok. Is there an easier way.
I don't have much of an experience with this IDE. So how about you use dev c++ ✌️
I have a doubt, consider a function template which adds two numbers, and we want to take in those two numbers from the user, but first we need to store those numbers in some variables, so what should be the return type of those variables ? If we choose the return type as "int" but the user enters a "float" value, then only the integer part of the float data will be stored. So how to make use of templates to detect and store the data type of the entered data ?
The return type should be the generic type (that is - 'T' or any other letter that you use to resemble the generic type) so that the program will automatically consider the type entered by the user at runtime :-)
@@SimpleSnippets Thanks :)
Most welcome bro 😇✌️keep up the support 😇
What if the function return type is void?
If we want to check two nos. Which is greater, if two nos. Are of different data types say int and float then we don't know what will be the return type of the template function. I want to know if this can be achieved then how?
What if i want to print the function is of integer type or float type in templates after giving values?
template
T add(T x, T y)
{
cout
Difference between class & function template??
I have one doubt can you please tell me at which stage of compilation it gets handeled? Does this happen at the stage of pre processing?
Is it compulsory to use T and U only ? Can we use other than T and U??
No no it's not compulsory to your T or U. You can use any other letter. Small Caps or big. But then you have to use that same character throughout ✌️😇
@@SimpleSnippets thank you 😄
Welcome Arati 😇
Asslam o alaikum sir, mjy aik bt ki smj nu I apny int or double of kese combined Kiya aur float ko miss ku Kiya aur ink nmbrs int double Mila bs .5 ka kese Aya plzz clear soon
Then how can i input the parameters?
One question... In my book here it is written template instead of template in function template syntax. Is that the same?
Try it :-)
I think its for class template
Where did u learner Cpp
College, classes then everything online
@@SimpleSnippets I am an ECE student can u suggest me some online sources
Why we are needed to spend money in Udemy if vedios of such good quality are being here like this🙏
I am using turbo c and I am getting an error on the line where template is written and the error is "line 3: , expected"
Use 32 bit compilers like Dev and code blocks
Good video, but you speak too fast and not well articulated!! But the information you give is outstanding!!!
Point noted. I will keep this in mind 😇
Thank you for this genuine feedback 😇
Night owl respect++
I have a scenario where I need to have 3 overloaded functions..
double ConvertValues(double dValue);
double ConvertValues(char* sValue)
double ConvertValues(wchar_t *wValue)
For char and wchar_t cases I assume values are coming as string and stored in it, I need to convert it as values and then do appropriate calculation, If double, I can directly send it to the computation..
Can this be done in Function template?
Are you marathi?
Ho Marathi ahe mi 👍😊
@@SimpleSnippets kadakkk bhava! proud of you bhava!
@@sarthakmane2977 thank you bhava. Please channel and videos share karat rah. That's the biggest support you can give brother😊👍
@@SimpleSnippets nakki bhava😃
Thank you brother
thank you 💓
Thanks a lot
thankyou
😃
Thanks a lot