Define A Copy Constructor To Create A Deep Copy Of An Object | C++ Tutorial

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Two weeks ago I was watching another channel for learning C++, the other channel was good, but THIS CHANNEL IS WAYS BETTER. Very well explained, thank you so much.

ieduardoms
Автор

everytime i dont fully understand some new concept, i come to this channel and everything starts to make sense!

otheusma
Автор

Oh Man, you're so great at teaching! No nonsense at all, just directly goes into the knowledge we need!

WeirdGoat
Автор

every time i want to revise this topic i end up here thank you so much

amrrasslan
Автор

cripes - that was really rather excellent - i understood it all, that's rare for me...

kdowd
Автор

Thanks a ton! Your students are lucky to have an amazing professor like you!

ValliNayagamChokkalingam
Автор

Deep copy and Shallow copy concept sorted! Thank you!

dwivedys
Автор

I subed
The pace and tone of these tutorials are pretty good, the information penetrates my brain when I watch them

punchline
Автор

Very thorough explanation with great examples. Thanks for clarifying!

dashdroptv
Автор

This was extremely helpful and clear thank you so much.

papertowers
Автор

don't be bored telling the same thing: you're the best instructor

semihaturkoglu
Автор

Thanks a lot, this helped me solve a programming exercise i was stuck at.

KaLaka
Автор

I love u holy moly i was realy scratching my head on copy constructors

austinyu
Автор

@2:17 num2=num1; is using copy assignment operator function, instead copy construct. num2(num1) is using copy construct in my knowledge. That’s very confusing. But concept must be right.

jixuancheng
Автор

I did not receive any errors when the exit() was removed. Should I be worried if I dont receive errors or is it just depending on the software? I use vscode.

keblinskiwastaken
Автор

This is so helpful, thank you so much

emfahmi
Автор

instead of malloc statement can we use new keyword?

ibrahimmalik
Автор

hello, first i would to thank you for this tutorial, i do exactly the same thing in my computer but the deep copy he dosen't work, can you help me?

abdellahguennioui
Автор

I get why you’re using malloc and free in this case (ie to throw the error) but really you should mention this is not considered good practice (and mention new/delete/smart pointers)

itsmaxim
Автор

why is const have been used in "Number(const Number &otherNumber)"

shafayet