Тёмный
No video :(

Working with References in C++ 

Caleb Curry
Подписаться 632 тыс.
Просмотров 23 тыс.
50% 1

Опубликовано:

 

24 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 36   
@unrealdevop
@unrealdevop Год назад
I searched all over for a good explanation of references and pointers and nobody came close to explaining them as clearly as you do. Thanks for the video.
@ddimwhite4638
@ddimwhite4638 3 года назад
Восхитительно! Талантливый человек.
@thelanavishnuorchestra
@thelanavishnuorchestra Год назад
Haven't written in C or C++ in 30 years, and suddenly I found something I wanted to do that required C++. So, your lighthearted and straightforward tutorials are a godsend.
@bigfutz
@bigfutz 3 года назад
You deserve so many more views
@severgun
@severgun 3 года назад
I think you should mention that pass by value will not only consume memory, but also copy operation can be time consuming. Yes this is premature optimisation. But nothing wrong with mentioning that creating new variable/object and copying data not always cheap operation.
@RootsThatRuin
@RootsThatRuin 2 года назад
He goes over that in the video preceding this one. He does a really good conceptual overview of references in that video, and this video is kind of just a hands-on implementation video.
@skypuff
@skypuff 3 года назад
Informative if I do say so myself🔥🔥🔥
@higiniofuentes2551
@higiniofuentes2551 11 месяцев назад
Thank you for this very useful video!
@skypuff
@skypuff 3 года назад
This is a wonderful and insightful video
@higiniofuentes2551
@higiniofuentes2551 11 месяцев назад
The variable name data is the same outside of the function and inside of the function, is a bit confusing because I thought it could be different?
@keithrunyon7746
@keithrunyon7746 2 года назад
What is the graphics libary you are using in the advertisement?
@yourFavComment
@yourFavComment 2 года назад
dude thank you so much!
@JustThink2000
@JustThink2000 Месяц назад
Makes a lot of sense but still confusing
@arihanttonage7436
@arihanttonage7436 3 года назад
Why did it not work if the argument was a vector(not reference) and when the value was passed?
@arihanttonage7436
@arihanttonage7436 3 года назад
@Peterolen oh,right. So it had to be done using pass by reference
@DanielLevinedigitalpixel
@DanielLevinedigitalpixel 2 года назад
Hey Caleb. Great Video. Question. Why does passing a function parameter by reference give a different answer to passing it by value. What is the reasoning here? Thanks in advance
@haroonstar2195
@haroonstar2195 Год назад
It is because when passing a value of the function work, we copy the value of a to x and then increment x. Since we copied a to x and only x was incremented, this means the value of a is the same since it was not put through the function at all. When we set x as a reference instead, it means a and x share a value instead. So now x is being incremented by the function work, which also affects a now since they are referring to one another. That's why the value was different when he used the reference.
@pierfrancescopeperoni
@pierfrancescopeperoni 3 года назад
4:35 You trolled us.
@Memes_uploader
@Memes_uploader 2 года назад
Thanks bro
@Someone-kw6mw
@Someone-kw6mw 3 года назад
How to make a game using C++
@lexuthelexer1212
@lexuthelexer1212 3 года назад
Great question, did you find anything about it?
@lexuthelexer1212
@lexuthelexer1212 3 года назад
@Artem Katerynych Thanks for the information, i tried to install SFML once but the problem is, i dont know how to install third-party libraries. Can you please explain how i install them?
@lexuthelexer1212
@lexuthelexer1212 3 года назад
@Artem Katerynych Visual Studio Code
@lexuthelexer1212
@lexuthelexer1212 3 года назад
@Artem Katerynych i tried VS 2019 before i got to VS Code. I just like VS Code better
@polisheikh1739
@polisheikh1739 3 года назад
Please give me advice..Give a oracal pdf book....Link plz give me. .
@turdle2767
@turdle2767 3 года назад
const ref
@EricSchmidutz
@EricSchmidutz 5 месяцев назад
Definitely Coke
@Sky-nm3df
@Sky-nm3df 3 года назад
c++ is really back XD
@Sky-nm3df
@Sky-nm3df 3 года назад
for that time, by this time its no longer c++ lol XD
@Krypt708
@Krypt708 3 года назад
monster???
@anikapsarah8075
@anikapsarah8075 3 года назад
Extremely knowledgeable and genuinely cares about the success of his . Over all my sessions with Sir Scott Wilson ,I’ve come to conclude he has the best win ratio of 95+ and his sincerity is something you won’t find anywhere. Great place to earn and be supported by successful seasoned traders.
@unodos1821
@unodos1821 3 года назад
The most basic, it does nothing.lol
Далее
C++ Pointers - Finally Understand Pointers
15:56
Просмотров 211 тыс.
C++ Examples - Pass by Value vs Reference vs Pointer
11:53
C++ new Keyword with Objects and Arrow Operator
8:29
Rust References and Ownership Complete Introduction
28:45
Working with C++ Pointers
9:43
Просмотров 43 тыс.
C++ Pass by Value, Reference, Pointer Explained
10:18
REFERENCES in C++
10:13
Просмотров 572 тыс.
Master Pointers in C:  10X Your C Coding!
14:12
Просмотров 300 тыс.
References in C++ Explained
15:03
Просмотров 99 тыс.