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

  Рет қаралды 24,209

Caleb Curry

Caleb Curry

Күн бұрын

Пікірлер: 33
@nro9450
@nro9450 7 ай бұрын
"I think that was the first mistake I ever made" got a good chuckle out of me
@rithumanoharan7098
@rithumanoharan7098 2 жыл бұрын
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!
@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 жыл бұрын
hey caleb nice work . need more c++ problems please!
@aru4115
@aru4115 2 жыл бұрын
1:56, 3:38, 5:08, 8:14
@kushagrarathore5209
@kushagrarathore5209 4 жыл бұрын
Yes I was going to Search for this then i saw your video notification
@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 жыл бұрын
CLAIRE! Let the man work! 🤣
@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.
@Dazza_Doo
@Dazza_Doo 2 жыл бұрын
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
@RadeRaiD
@RadeRaiD 4 жыл бұрын
Thank you for video. Can you make tutorial about arrow operator in c++
@发财闷声
@发财闷声 Жыл бұрын
thank you so much for sharing
@sheaksadi
@sheaksadi 4 жыл бұрын
I finished your 100 part c++tutorial what should i do next
@captainspeedy108
@captainspeedy108 4 жыл бұрын
what color theme is it?
@FireJet318
@FireJet318 4 жыл бұрын
Which IDE is this?
@bigfutz
@bigfutz 4 жыл бұрын
Sublime text
@indraxios
@indraxios Жыл бұрын
it's all good, but why dont you use namespace std:
@xiaonaiheme
@xiaonaiheme 2 жыл бұрын
This one great video
@ARANDOMOPENAIUSER
@ARANDOMOPENAIUSER Жыл бұрын
0:49 2:08
@zaimkebbi8999
@zaimkebbi8999 2 жыл бұрын
at 2:32 his soul just got out of his body!
@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
@celestialadministration
@celestialadministration 4 жыл бұрын
Sublime text, very light weight editor. 😁😁😁
@junhosong5778
@junhosong5778 9 ай бұрын
can anyone tell me why its 2345?
@पंकजकुमार-ढ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
@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
C++ new Explained
7:28
Caleb Curry
Рет қаралды 16 М.
References in C++ Explained
14:21
Caleb Curry
Рет қаралды 104 М.
УЛИЧНЫЕ МУЗЫКАНТЫ В СОЧИ 🤘🏻
0:33
РОК ЗАВОД
Рет қаралды 7 МЛН
КОНЦЕРТЫ:  2 сезон | 1 выпуск | Камызяки
46:36
ТНТ Смотри еще!
Рет қаралды 3,7 МЛН
Should I pass by const reference or by value?
10:45
The Cherno
Рет қаралды 112 М.
C++ Pass by Value, Reference, Pointer Explained
9:33
Caleb Curry
Рет қаралды 46 М.
31 nooby C++ habits you need to ditch
16:18
mCoding
Рет қаралды 846 М.
Weak Pointers in C++ (std::weak_ptr)
17:25
The Cherno
Рет қаралды 61 М.
Working with C++ Pointers
9:02
Caleb Curry
Рет қаралды 46 М.
DEADLY C++ Mistakes Beginners Make
9:36
Caleb Curry
Рет қаралды 62 М.
C++ Pointers - Finally Understand Pointers
15:56
Caleb Curry
Рет қаралды 221 М.
УЛИЧНЫЕ МУЗЫКАНТЫ В СОЧИ 🤘🏻
0:33
РОК ЗАВОД
Рет қаралды 7 МЛН