@BelegaerTheGreat

My God, if I had just watched this 15 minute video before starting my project it would eliminate like 2 hours of confusion...

@mrtom-a-hawk6732

The clarity of this video is beyond incredible. Fantastic work!

@dishmaster4140

From the bottom of my heart, thank you SO MUCH for this. I have been having the hardest time understanding pointers because no resource I had found was hitting quite the right spot on why we should care about pointers, but you did it.

Thank you for taking the time to demonstrate the memory allocation and your attention to discussing that side of things. I have been pulling my hair out over this, and I cannot tell you how overjoyed I am to have found this video.

@whatsupp223

your courses on C and C++ are the best on the internet. You explain everything perfectly. Thank you very much. Keep up!

@chickenmadness1732

I love the commented diagram you made below the code. Really helped a bunch of stuff click.

@lexdose4104

Ive been learning C++ as a 1st year CS student from around 5 months now and Im currently dealing with pointers from my book resources. I was very confused about the concept of new and delete operators and was wondering why I should use them and now Im starting to understand their functions and how important they are on memory management, thank you so much!

@calengo454

are you an angel? ive been trying to understand this for days and you're the only one that made it make sense

@SAURABHJAIN1989

7:14
int *ptr_to_int = new int(5);                         // to store an integar.

double *array = new double[5];                  //to store an array.

So, round brackets ( ) to allocate single value and square brackets [ ] to allocate an array with the new operator.

So, the basic syntax for the new operator is:
datatype *var_name = new datatype();
or
datatype *var_name = new datatype(val);      //when we pass a value (might be an int or string or any other data type)

@AntumDeluge

Finally! ...I almost understand dynamic memory allocation.

Can we change the names from "heap" & "stack" to something more lay friendly?

@mouli4867

Thank for this tutorial. But I couldn’t find out a tutorial of yours on placement new. Please can we have a tutorial on that whenever you have time. Thank you once again.

@mustofanuruzzamanniaz7856

You are an amazing teacher

@Exoalgeria

such a great explanation

@mihaibozian

best explanation about dynamic mem allocation

@uclocnguyenvo422

oh shit this tutorial is so good -_- u deserve millions of subscribers

@Kakusth-rt9of

thaank you very much struggling too much on these topic

@muhammadluqman3452

great playlist , you are a hidden gem!

@张武王

Just out of curiosity, what is the font used for coding in this video? It looks quite pleasant to me.

@MatovuMubrak

I appreciate the work

@msk1754

Thanks for making video!
If base adress is 0x0001,
ptr_to_ have to be allocated 0x0001+ sizeof(int)?

@skadasher5475

amazing work, thank you