Object Assignment | C++ Tutorial

Поділитися
Вставка
  • Опубліковано 7 лют 2025
  • How object assignment works by default in C++, including an explanation as to why object assignment may cause problems if the object member variables include pointers to dynamically allocated data. Source code: github.com/por.... Check out www.portfolioc... to build a portfolio that will impress employers!

КОМЕНТАРІ • 21

  • @kneesurgeryy
    @kneesurgeryy Рік тому +4

    The visual explanation was amazing and made the concept crystal clear. Thank you.

    • @PortfolioCourses
      @PortfolioCourses  Рік тому

      You're welcome, I'm glad the visual explanation was helpful! :-)

  • @SuhelShaikh-j9j
    @SuhelShaikh-j9j Рік тому +1

    Thank you for such amazing contents.
    I really appreciate your work, you're simply distinct in your work
    1) Speed of explaination , voice modulations are best.
    2) you never copy a single statement and all code is written in live, which in a way gives us more idea imaging what typo error we could make if we need to actually type the code.
    3) Every video you made have new things to know which might be applicable/linked to some other concepts
    4) Your in depth knowledge and highlighting the case/scenarios where we actually need to apply the concept is remarkable, because what I think is , it's more important to know where to apply the knowledge we learn and that's what you cover very well.
    Thanks a lot again.

  • @Klusio19
    @Klusio19 2 роки тому +2

    These visual explanations are helping very well actually. First I didn't really understand this topic fully, but when you showed what was going on on these graphic, it made much more sense and it worked very good with the code you've written! Especially when I watched video again.
    Keep using graphical explanations sir. They are great idea!

    • @PortfolioCourses
      @PortfolioCourses  2 роки тому +1

      Thank you for the feedback, I try to use visuals when it may be helpful so it's good to hear they were helpful for someone. 🙂

    • @ieduardoms
      @ieduardoms 2 роки тому +1

      I totally agree with Klusio19, these visual explanations are helping a lot.

    • @PortfolioCourses
      @PortfolioCourses  2 роки тому

      @@ieduardoms Thank you for the feedback everyone! 🙂

  • @dwivedys
    @dwivedys 8 місяців тому

    This video is an absolute gem!! I am ever so grateful to you!

  • @semihaturkoglu
    @semihaturkoglu 6 місяців тому

    very good and clean explanation.. like always

  • @xxz4655
    @xxz4655 3 роки тому +1

    Thank you very much this is very cool don't get discouraged meh boy

    • @PortfolioCourses
      @PortfolioCourses  3 роки тому

      Haha thank you, I promise I won't get discouraged. :-)

  • @tahawaseem6989
    @tahawaseem6989 29 днів тому

    thanks but I have one question
    like in your example where we accidentally created a memory leak how do we fix that or how can we point again to that dynamically created object ?

  • @belhajhamza8145
    @belhajhamza8145 Рік тому

    nice job 👌👌👌

  • @ieduardoms
    @ieduardoms 2 роки тому

    Very well explained. Thank you very much.

  • @arnavraj3415
    @arnavraj3415 2 роки тому

    nicely explained ,keep up the good work.

  • @jaxdemi527
    @jaxdemi527 2 роки тому

    This was perfect.
    Thank you.

  • @cupofjava5480
    @cupofjava5480 2 роки тому

    thanks