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

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ธ.ค. 2024

ความคิดเห็น • 33

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

  • @nro9450
    @nro9450 7 หลายเดือนก่อน +2

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

  • @kushagrarathore5209
    @kushagrarathore5209 4 ปีที่แล้ว +2

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

  • @Dazza_Doo
    @Dazza_Doo 2 ปีที่แล้ว

    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

  • @AbhishekTiwari-uy7ff
    @AbhishekTiwari-uy7ff 4 ปีที่แล้ว +2

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

  • @Dazza_Doo
    @Dazza_Doo 2 ปีที่แล้ว +1

    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 ปีที่แล้ว

      it is a foreach loop

    • @Dazza_Doo
      @Dazza_Doo ปีที่แล้ว

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

  • @aru4115
    @aru4115 2 ปีที่แล้ว +1

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

  • @e.faithdenham6851
    @e.faithdenham6851 8 หลายเดือนก่อน

    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.

  • @ChadTower
    @ChadTower 2 ปีที่แล้ว +1

    CLAIRE! Let the man work! 🤣

  • @RadeRaiD
    @RadeRaiD 4 ปีที่แล้ว +1

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

  • @发财闷声
    @发财闷声 ปีที่แล้ว

    thank you so much for sharing

  • @corashy1950
    @corashy1950 3 หลายเดือนก่อน

    Your Good!! 😊

  • @roberthoople
    @roberthoople 3 ปีที่แล้ว

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

  • @zaimkebbi8999
    @zaimkebbi8999 2 ปีที่แล้ว

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

  • @sheaksadi
    @sheaksadi 4 ปีที่แล้ว +3

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

  • @smritigupta1468
    @smritigupta1468 ปีที่แล้ว

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

    • @yoavmor9002
      @yoavmor9002 ปีที่แล้ว

      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

  • @indraxios
    @indraxios ปีที่แล้ว

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

  • @FireJet318
    @FireJet318 4 ปีที่แล้ว +1

    Which IDE is this?

    • @bigfutz
      @bigfutz 4 ปีที่แล้ว +1

      Sublime text

  • @xiaonaiheme
    @xiaonaiheme 2 ปีที่แล้ว

    This one great video

  • @captainspeedy108
    @captainspeedy108 4 ปีที่แล้ว

    what color theme is it?

  • @celestialadministration
    @celestialadministration 4 ปีที่แล้ว

    Sublime text, very light weight editor. 😁😁😁

  • @ARANDOMOPENAIUSER
    @ARANDOMOPENAIUSER ปีที่แล้ว

    0:49
    2:08

  • @पंकजकुमार-ढ9ठ
    @पंकजकुमार-ढ9ठ 4 ปีที่แล้ว

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

    • @qwerasdfhjkio
      @qwerasdfhjkio 4 ปีที่แล้ว

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

    • @lawrencegarol5115
      @lawrencegarol5115 4 ปีที่แล้ว

      Cxx droid or termux

  • @junhosong5778
    @junhosong5778 8 หลายเดือนก่อน

    can anyone tell me why its 2345?

  • @Abhiiii12
    @Abhiiii12 3 ปีที่แล้ว

    brain goes boom

  • @jamest5014
    @jamest5014 3 ปีที่แล้ว

    why dont you use "using namespace std;" ?

  • @CediCore
    @CediCore ปีที่แล้ว

    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