C++ Programming Tutorial 81 - Intro To Object Oriented Programming

Поделиться
HTML-код
  • Опубликовано: 15 сен 2024

Комментарии • 26

  • @jesusfernandez1004
    @jesusfernandez1004 2 года назад

    Caleb, I appreciate your video series. I find them very helpful for teaching programming languages to high school students because they are broken down by topic.
    Thank you

  • @PunmasterSTP
    @PunmasterSTP 3 года назад +5

    OOP? More like OP, because object-oriented programming is very powerful! But seriously, thanks for all of this tutorial series. I almost can't believe there's a hundred videos...or that I'm close to having watched all of them.

    • @ahmedegymed5853
      @ahmedegymed5853 3 года назад +1

      But if class and struct are identical.....c has structs so ,c has oop too ,right ?

    • @PunmasterSTP
      @PunmasterSTP 3 года назад +1

      @@ahmedegymed5853 That is a really great observation! It's a little bit different, because one of the defining characteristics of objects is having "behaviors" or "methods" associated with them, not just data. While classes and structs in C++ can both make objects (just with different default privacy settings), structs in most other languages don't have behaviors and so aren't objects. I think Caleb tries to point this out in the videos. C is one of the other languages that has structs, but these structs only have data fields and not methods, so they aren't actually classes and objects.
      I know it's pretty confusing. Did that sound at least kind-of reasonable?

    • @ahmedegymed5853
      @ahmedegymed5853 3 года назад +1

      @@PunmasterSTP thanks for the reply,I dont learn programming as professional it's just a hoppy...so by methods you mean functions defined inside a class or struct ,right ? So we cant assign functions inside structs in c ?

    • @PunmasterSTP
      @PunmasterSTP 3 года назад

      @@ahmedegymed5853 No problem, I really like to discuss things! I don't program professionally either; it is entirely a hobby for me too. Sometimes the vocabulary can trip me up, and I usually just think about data structures without their own functions and data structures with their own functions (aka behaviors, methods, protocols, subroutines, etc.). I think the most standard terminology for a function belonging to an object is a method ( en.wikipedia.org/wiki/Method_(computer_programming) ). And you are right; you can't assign methods to a struct in C, as C is not an OOP.

  • @Ihavetoreturnsomevideotapes
    @Ihavetoreturnsomevideotapes 4 года назад +34

    My Ed Sheeran. (:

  •  3 года назад +3

    Onyx? There is some object near you. Object with some legs, teeths and so on.

  • @spinity8468
    @spinity8468 3 года назад +1

    I like your video Caleb! :D

  • @daniyalharoon639
    @daniyalharoon639 3 года назад +2

    who is amy?

  • @vdineshkumar1679
    @vdineshkumar1679 4 года назад +2

    6:05 😂other programming language

  • @isimbinelly456
    @isimbinelly456 2 года назад +1

    it's the gross part😭😅😅 by the way this video is helpful

  • @GOODBOY-vt1cf
    @GOODBOY-vt1cf 2 года назад

    5:32

  • @hoangnguyenanh815
    @hoangnguyenanh815 3 года назад

    oh shit :) longest intro ever

  • @mixitup92
    @mixitup92 4 года назад +3

    Why you picking on C :( it's good to know c before knowing C++ because it gives you a good start

  • @liampapavasiliou9658
    @liampapavasiliou9658 3 года назад +2

    THE REIGN OF GUITATHAX HAS ENDED! HIS COMMENTS HAVE CEASED

    • @PunmasterSTP
      @PunmasterSTP 3 года назад +1

      No!!!
      Guitarhax, this BOOM! is for you...

  • @user-mv6iq9nd3p
    @user-mv6iq9nd3p 4 года назад +3

    ممكن ترجمة عربى

    • @brocklesnarufcchamp1
      @brocklesnarufcchamp1 3 года назад +1

      لا يوجد يوتيوب عربي يعلم ++ C؟

    • @medhatdiab9427
      @medhatdiab9427 2 года назад

      ruclips.net/p/PLF8OvnCBlEY1W54Am_lA9uXK1gAyExMmP

  • @Pooh__7__
    @Pooh__7__ 4 года назад +3

    is your wife's name Amy White

    • @5-742
      @5-742 4 года назад +3

      it's onix