Class Templates | C++ Tutorial

  Рет қаралды 58,250

Portfolio Courses

Portfolio Courses

Күн бұрын

Пікірлер
@aadhuu
@aadhuu 2 жыл бұрын
I missed my class on templates so came here. Damn. Sir you never fail to impress me ! I just love how concise the explanation is! The way you show the wrong way of doing things with the code is so amazing! Thanks a lot!!!
@PortfolioCourses
@PortfolioCourses 2 жыл бұрын
Thank you for the positive feedback Aditya! I'm glad to hear the video helped you out. :-)
@On.007
@On.007 10 ай бұрын
Man, I love the way you explain things!.
@PortfolioCourses
@PortfolioCourses 10 ай бұрын
I’m glad you’re enjoying the explanations! :-)
@chickennuggies0242
@chickennuggies0242 Жыл бұрын
I’m glad I clicked on your video. Your page looks full of useful code! Looking forward to it. And great video you have here too!
@nick_the_octopus
@nick_the_octopus 8 ай бұрын
This is very helpful. Clearly explained and shown in good resolution. Thank you for your service!
@pauliuskatinas2810
@pauliuskatinas2810 Ай бұрын
Fantastic explanation, thanks! Even easy to understand as a complete beginner
@bakeery
@bakeery Жыл бұрын
You got a new subscriber. Simple and straightforward
@PortfolioCourses
@PortfolioCourses Жыл бұрын
Welcome aboard Abubakar! :-) I’m glad you enjoyed it!
@BadMemoryAccess
@BadMemoryAccess Жыл бұрын
Thank you. The structure and tempo of your explanation were exactly right :)
@PortfolioCourses
@PortfolioCourses Жыл бұрын
You're welcome, I'm glad you enjoyed it! :-D
@AnaMaddison
@AnaMaddison Ай бұрын
The constant expression’s value can be set once at runtime, but not changed afterwards. So, the behavior exhibited in the this example is more from the compiler’s interpretation of what it means to handle arrays in particular. The constant expression limitation on array length stems from the inherent characteristic of arrays themselves. So, if console in was assigning a vale to variable x at runtime, and then that variable value was being assigned to constant x afterwards, then the value of constant x could actually be used by the template successfully, however in this example, we are not assigning a value to an uninitialized constant to handle the operation.
@Garrison86
@Garrison86 Жыл бұрын
Awesome tutorial, very clean and super easy to follow 👌👌
@PortfolioCourses
@PortfolioCourses Жыл бұрын
I’m glad you found it easy to follow! :-)
@blaisofotso3439
@blaisofotso3439 Жыл бұрын
Absolutely fanstatic! You are an amazing teacher. thank you so much for puuting the hard work in making these courses.
@PortfolioCourses
@PortfolioCourses Жыл бұрын
You're very welcome, I'm glad to hear that you enjoy the videos! :-)
@ib_parametres724
@ib_parametres724 Жыл бұрын
template void gratitude (T x) { std::cout
@dannggg
@dannggg Жыл бұрын
Question. Why can length variable initialized array in this case? Because when I try to make an array it never takes variables only ints.
@muhammad-ali-khalid
@muhammad-ali-khalid 7 ай бұрын
I have no words to thank you ❤❤
@sunandachowdhury1455
@sunandachowdhury1455 Жыл бұрын
Precise and to the point explanation! Thanks for that :))
@PortfolioCourses
@PortfolioCourses Жыл бұрын
You're very welcome, I'm glad you enjoyed it! :-)
@ZinWesam
@ZinWesam Ай бұрын
🔴🔴🔴 Why we put (and) in at() function ?
@yigitcoban9823
@yigitcoban9823 Жыл бұрын
Thank you kevin. For everything.
@PortfolioCourses
@PortfolioCourses Жыл бұрын
You’re very welcome Yiğit! :-D
@johnibat
@johnibat Жыл бұрын
Nice explanation...👍 Very clear and useful... Thank you...🙏
@PortfolioCourses
@PortfolioCourses Жыл бұрын
You're welcome, that's great to hear that you enjoyed the explanation! :-)
@mmp7337s
@mmp7337s Жыл бұрын
Thank you for this video, we have a book to teach us this in my school but it is so confusing compared to this
@ZinWesam
@ZinWesam Ай бұрын
You are great , man .....
@ALGCoders
@ALGCoders 2 жыл бұрын
coooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooool thanks
@PortfolioCourses
@PortfolioCourses 2 жыл бұрын
You’re welcome! :-)
@kevinliao9938
@kevinliao9938 2 жыл бұрын
Really useful. Thanks a lot!!!
@PortfolioCourses
@PortfolioCourses 2 жыл бұрын
You're welcome Kevin, I'm glad you found it useful! :-)
@tupjiu963
@tupjiu963 5 ай бұрын
This video is class!
@PortfolioCourses
@PortfolioCourses 5 ай бұрын
Hahahaha
@adamp185
@adamp185 2 жыл бұрын
Finally I get it. Tank you so much!
@PortfolioCourses
@PortfolioCourses 2 жыл бұрын
You're welcome Adam! 🙂
@Bladermishal10
@Bladermishal10 Жыл бұрын
Thanks mate!
@PortfolioCourses
@PortfolioCourses Жыл бұрын
You're welcome! :-)
@AbdullahNadeem-mi9yi
@AbdullahNadeem-mi9yi 7 ай бұрын
Sir excuse me if I am being stupid, but was this example representing a template function or a template class?
@videoguy9487
@videoguy9487 5 ай бұрын
template class clearly
@Ragehunter
@Ragehunter Жыл бұрын
7:05 thx!
@PortfolioCourses
@PortfolioCourses Жыл бұрын
You’re welcome! :-)
@sergioberezovski4865
@sergioberezovski4865 Жыл бұрын
what compiler are you using??????
@PortfolioCourses
@PortfolioCourses Жыл бұрын
In this video I am using Xcode on a Mac. :-)
Overloading Function Templates | C++ Tutorial
9:54
Portfolio Courses
Рет қаралды 8 М.
Function Templates | C++ Tutorial
10:54
Portfolio Courses
Рет қаралды 9 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
Back To Basics: C++ Containers
31:41
javidx9
Рет қаралды 191 М.
31 nooby C++ habits you need to ditch
16:18
mCoding
Рет қаралды 844 М.
Master Pointers in C:  10X Your C Coding!
14:12
Dave's Garage
Рет қаралды 337 М.
Templates in C++
17:58
The Cherno
Рет қаралды 607 М.
Object Oriented Programming (OOP) in C++ Course
1:30:26
freeCodeCamp.org
Рет қаралды 2,6 МЛН
WHY did this C++ code FAIL?
38:10
The Cherno
Рет қаралды 298 М.
C++ Polymorphism and Virtual Member Functions [6]
12:13
Professor Hank Stalica
Рет қаралды 19 М.
Stop using std::vector wrong
23:14
The Cherno
Рет қаралды 160 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН