C++ Examples - Pass by Value vs Reference vs Pointer

Поделиться
HTML-код
  • Опубликовано: 25 авг 2024
  • Start your software dev career - calcur.tech/de... 💯 FREE Courses (100+ hours) - calcur.tech/al...
    🐍 Python Course - calcur.tech/py...
    ✅ Data Structures & Algorithms - calcur.tech/ds...
    ~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~
    ✉️ Newsletter - calcur.tech/ne...
    📸 Instagram - / calebcurry
    🐦 Twitter - / calebcurry
    🔗 LinkedIn - / calebcurry
    ▶️ Subscribe - calcur.tech/sub...
    👨🏻‍🎓 Courses - www.codebreakt...
    ~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~
    ↪ My Amazon Store - www.amazon.com...
    🅿 Patreon - calcur.tech/pat...
    🅖 GitHub Sponsors - github.com/spo...
    Ⓟ Paypal - paypal.me/calcur
    🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
    🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
    📈 Buy Bitcoin - calcur.tech/cr...
    Reserve the Ruby Steel crypto rewards card and get a $25 bonus (use affiliate code "Caleb") - calcur.tech/cr...

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

  • @nro9450
    @nro9450 3 месяца назад +1

    "I think that was the first mistake I ever made" got a good chuckle out of me

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

    This was super helpful! I didn't understand pointers in a quarter-long class , while working with them on a project, or while trying to refresh some c++ concepts before a job interview tomorrow, but watching a couple of your videos makes me feel a lot more confident about them!! I am grateful - thank you!

  • @AbhishekTiwari-uy7ff
    @AbhishekTiwari-uy7ff 3 года назад +2

    hey caleb nice work . need more c++ problems please!

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

    Yes
    I was going to Search for this then i saw your video notification

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

    Thank you for video. Can you make tutorial about arrow operator in c++

  • @user-uo8zt4mr9u
    @user-uo8zt4mr9u Год назад

    thank you so much for sharing

  • @e.faithdenham6851
    @e.faithdenham6851 4 месяца назад

    I was thinking about your persistence in typing endk.... Are you a South Park fan? I think you may have a subconscious desire to "Kill Kenny". You keep typing "end k". You may need Cartman to give you some of his specialized therapy. But just keep in mind, he can't help you unless you respect his authority.
    Thanks for this series. I love it.

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

    1:56, 3:38, 5:08, 8:14

  • @Dazza_Doo
    @Dazza_Doo Год назад

    9:14 coming from C#, Returning (or Catching // var (auto) HesDeadJim = CallingKirk(gorn)) the data is the 'preferred' way, I've seen many C# pros scoff at References into Methods, even though the language allows it. Then again, I'm a fan of Goto (hides as peeps throw rocks), I digress, Goto is a manual loop / branching :P and who really wants 20 if()'s -joking aside

  • @junhosong5778
    @junhosong5778 4 месяца назад

    can anyone tell me why its 2345?

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

    CLAIRE! Let the man work! 🤣

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

    How do you get the output under the code window like that?
    I'm searching, but google ain't playing.

  • @xiaonaiheme
    @xiaonaiheme Год назад

    This one great video

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

    at 2:32 his soul just got out of his body!

  • @user-yk2dc6yr7q
    @user-yk2dc6yr7q 10 месяцев назад

    0:49
    2:08

  • @Dazza_Doo
    @Dazza_Doo Год назад

    What course did I miss for Line 15?
    For (int x : data) ??? -> What kind of loop is this? are there default parameters that are implied? It's acting like a ForEach loop

    • @dead_protagonist
      @dead_protagonist 11 месяцев назад

      it is a foreach loop

    • @Dazza_Doo
      @Dazza_Doo 11 месяцев назад

      @@dead_protagonist Thanks for the reply, I've forgotten about this video. Oh it's a Cpp video. I've moved on to Rust

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

    what color theme is it?

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

    Sublime text, very light weight editor. 😁😁😁

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

    Which IDE is this?

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

      Sublime text

  • @indraxios
    @indraxios Год назад

    it's all good, but why dont you use namespace std:

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

    I finished your 100 part c++tutorial what should i do next

  • @smritigupta1468
    @smritigupta1468 11 месяцев назад

    why don't you use
    using namespace std; ?
    then the confusion of using std again and again can be eliminated.

    • @yoavmor9002
      @yoavmor9002 8 месяцев назад

      It's considered bad practice.
      Sometimes, it's downright dangerous. If you write using namespace in a header file, you're inviting yourself to a word of pain

  • @user-jo8gp1bs4e
    @user-jo8gp1bs4e 3 года назад

    Sir any app in Google Play Store which can help me code simple c++ programmes in phone,

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

      play.google.com/store/apps/details?id=com.sololearn.cplusplus
      They have tutorials and also an IDE inside of the app :)

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

      Cxx droid or termux

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

    brain goes boom

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

    why dont you use "using namespace std;" ?

  • @CediCore
    @CediCore 10 месяцев назад

    I'm sorry for you that the mistakes keep happening since you made your first mistake ever in this video. Hope this never happens to me