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

Sdílet
Vložit
  • čas přidán 29. 08. 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...

Komentáře • 32

  • @nro9450
    @nro9450 Před 3 měsíci +1

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

  • @rithumanoharan7098
    @rithumanoharan7098 Před 2 lety +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 Před 3 lety +2

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

  • @kushagrarathore5209
    @kushagrarathore5209 Před 3 lety +2

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

  • @aru4115
    @aru4115 Před 2 lety +1

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

  • @RadeRaiD
    @RadeRaiD Před 3 lety +1

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

  • @Dazza_Doo
    @Dazza_Doo Před rokem

    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

  • @e.faithdenham6851
    @e.faithdenham6851 Před 4 měsíci

    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.

  • @user-uo8zt4mr9u
    @user-uo8zt4mr9u Před rokem

    thank you so much for sharing

  • @Dazza_Doo
    @Dazza_Doo Před rokem

    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 Před 11 měsíci

      it is a foreach loop

    • @Dazza_Doo
      @Dazza_Doo Před 11 měsíci

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

  • @sheaksadi
    @sheaksadi Před 3 lety +3

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

  • @indraxios
    @indraxios Před rokem

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

  • @junhosong5778
    @junhosong5778 Před 4 měsíci

    can anyone tell me why its 2345?

  • @roberthoople
    @roberthoople Před 3 lety

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

  • @smritigupta1468
    @smritigupta1468 Před 11 měsíci

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

    • @yoavmor9002
      @yoavmor9002 Před 8 měsíci

      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

  • @FireJet318
    @FireJet318 Před 3 lety +1

    Which IDE is this?

  • @captainspeedy108
    @captainspeedy108 Před 3 lety

    what color theme is it?

  • @user-yk2dc6yr7q
    @user-yk2dc6yr7q Před 10 měsíci

    0:49
    2:08

  • @ChadTower
    @ChadTower Před 2 lety

    CLAIRE! Let the man work! 🤣

  • @xiaonaiheme
    @xiaonaiheme Před rokem

    This one great video

  • @celestialadministration

    Sublime text, very light weight editor. 😁😁😁

  • @zaimkebbi8999
    @zaimkebbi8999 Před 2 lety

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

  • @user-jo8gp1bs4e
    @user-jo8gp1bs4e Před 3 lety

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

    • @qwerasdfhjkio
      @qwerasdfhjkio Před 3 lety

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

    • @lawrencegarol5115
      @lawrencegarol5115 Před 3 lety

      Cxx droid or termux

  • @jamest5014
    @jamest5014 Před 3 lety

    why dont you use "using namespace std;" ?

  • @Abhiiii12
    @Abhiiii12 Před 3 lety

    brain goes boom

  • @CediCore
    @CediCore Před 10 měsíci

    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