Class Templates | C++ Tutorial

How to use class templates in C++ to reduce code duplication. Source code: github.com/portfoliocourses/c.... Check out www.portfoliocourses.com to build a portfolio that will impress employers!

Пікірлер: 39

  • @aadhuu
    @aadhuu2 жыл бұрын

    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. :-)

  • @chickennuggies0242
    @chickennuggies02424 ай бұрын

    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!

  • @thebigchair8584
    @thebigchair8584Ай бұрын

    This is very helpful. Clearly explained and shown in good resolution. Thank you for your service!

  • @bakeery
    @bakeery Жыл бұрын

    You got a new subscriber. Simple and straightforward

  • @PortfolioCourses

    @PortfolioCourses

    Жыл бұрын

    Welcome aboard Abubakar! :-) I’m glad you enjoyed it!

  • @blaisofotso3439
    @blaisofotso343911 ай бұрын

    Absolutely fanstatic! You are an amazing teacher. thank you so much for puuting the hard work in making these courses.

  • @PortfolioCourses

    @PortfolioCourses

    11 ай бұрын

    You're very welcome, I'm glad to hear that you enjoy the videos! :-)

  • @On.007
    @On.0073 ай бұрын

    Man, I love the way you explain things!.

  • @PortfolioCourses

    @PortfolioCourses

    3 ай бұрын

    I’m glad you’re enjoying the explanations! :-)

  • @user-rd6we5hx7c
    @user-rd6we5hx7c6 ай бұрын

    Thank you. The structure and tempo of your explanation were exactly right :)

  • @PortfolioCourses

    @PortfolioCourses

    6 ай бұрын

    You're welcome, I'm glad you enjoyed it! :-D

  • @Garrison86
    @Garrison86 Жыл бұрын

    Awesome tutorial, very clean and super easy to follow 👌👌

  • @PortfolioCourses

    @PortfolioCourses

    Жыл бұрын

    I’m glad you found it easy to follow! :-)

  • @MUHAMMADALI-vk9jw
    @MUHAMMADALI-vk9jw5 күн бұрын

    I have no words to thank you ❤❤

  • @sunandachowdhury1455
    @sunandachowdhury145511 ай бұрын

    Precise and to the point explanation! Thanks for that :))

  • @PortfolioCourses

    @PortfolioCourses

    11 ай бұрын

    You're very welcome, I'm glad you enjoyed it! :-)

  • @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.

  • @yigitcoban9823
    @yigitcoban9823 Жыл бұрын

    Thank you kevin. For everything.

  • @PortfolioCourses

    @PortfolioCourses

    Жыл бұрын

    You’re very welcome Yiğit! :-D

  • @kevinliao9938
    @kevinliao9938 Жыл бұрын

    Really useful. Thanks a lot!!!

  • @PortfolioCourses

    @PortfolioCourses

    Жыл бұрын

    You're welcome Kevin, I'm glad you found it useful! :-)

  • @ALGCoders
    @ALGCoders2 жыл бұрын

    coooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooool thanks

  • @PortfolioCourses

    @PortfolioCourses

    2 жыл бұрын

    You’re welcome! :-)

  • @m18181jj
    @m18181jj8 ай бұрын

    Thank you for this video, we have a book to teach us this in my school but it is so confusing compared to this

  • @johnibat
    @johnibat10 ай бұрын

    Nice explanation...👍 Very clear and useful... Thank you...🙏

  • @PortfolioCourses

    @PortfolioCourses

    9 ай бұрын

    You're welcome, that's great to hear that you enjoyed the explanation! :-)

  • @rangutango
    @rangutango6 ай бұрын

    Very good tutorial

  • @Bladermishal10
    @Bladermishal10 Жыл бұрын

    Thanks mate!

  • @PortfolioCourses

    @PortfolioCourses

    Жыл бұрын

    You're welcome! :-)

  • @adamp185
    @adamp185 Жыл бұрын

    Finally I get it. Tank you so much!

  • @PortfolioCourses

    @PortfolioCourses

    Жыл бұрын

    You're welcome Adam! 🙂

  • @ib_parametres724
    @ib_parametres72410 ай бұрын

    template void gratitude (T x) { std::cout

  • @praneshumasankar1110
    @praneshumasankar1110Ай бұрын

    good by the way i am sottayan

  • @Ragehunter
    @Ragehunter6 ай бұрын

    7:05 thx!

  • @PortfolioCourses

    @PortfolioCourses

    6 ай бұрын

    You’re welcome! :-)

  • @sergioberezovski4865
    @sergioberezovski486511 ай бұрын

    what compiler are you using??????

  • @PortfolioCourses

    @PortfolioCourses

    11 ай бұрын

    In this video I am using Xcode on a Mac. :-)