MENU

Fun & Interesting

STL Templates in C++ - Generic Functions and Classes (beginner-friendly)

CodeBeauty 28,895 lượt xem 1 year ago
Video Not Working? Fix It Now

In this video, we will learn about STL templates. I will explain STL templates in C++ and why we need templates.
This video will help you understand the purpose of STL templates, and you will see how to use templates in C++. To help you understand, I will show you the difference between regular functions and template functions. We will also cover template classes with practical examples.

Additionally, if you want to gain more practical experience in building real apps and solving real problems, join my Practical Programming Course below.

🚀📈💻🔥 My Practical Programming Course: https://www.codebeautyacademy.com/
Experience the power of practical learning, gain career-ready skills, and start building real applications!
This is a step-by-step course designed to take you from beginner to expert in no time!
💰 Here is a coupon to save 10% on your first payment (CODEBEAUTY_YT10).
Use it quickly, because it will be available for a limited time.

📚 Learn how to solve problems and build projects with these Free E-Books ⬇️
C++ Lambdas e-book - free download here: https://bit.ly/freeCppE-Book
Entire Object-Pascal step-by-step guide - free download here: https://bit.ly/FreeObjectPascalEbook

Related videos:
My Practical Programming Course (Introduction) - https://www.youtube.com/watch?v=1DMvoapl4g8&ab
C++ STL Introduction - https://www.youtube.com/watch?v=_NlRcT5gWpo

CONTENTS:
00:00 - What are STL templates?
02:19 - Why do we need templates?
03:37 - Solution without templates
06:25 - Template functions (practical example of generic functions)
09:01 - Recap of template functions
09:28 - Let's practice template functions
10:44 - Template classes (practical example of generic classes)
16:23 - Let's practice template classes
18:01 - Summary of the video

Add me on:
Instagram 📸 - https://www.instagram.com/TrueCodeBeauty
Twitter 🐦- https://twitter.com/TrueCodeBeauty

Comment