How to use dynamically allocated arrays

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

You're videos deserve MANY more views. I never comment on videos, but this was incredibly helpful and by far the clearest explanation I have come across. Thank you for this!!

cdoggy
Автор

You gifted bastard thank you so much! I've been trying to understand an exercise for an hour or so, no idea we could do this.

Anotherandoman
Автор

Wonderful work, no plugging in your programs, straight to the point and well explained

ethnicsovereignty
Автор

By far the clearest and most helpful C tutorial I've come across. I could count on one hand how many comments I've left on YouTube, but I had to leave one here because of how informative it was.

thesportsdrink
Автор

Very good explanation. It was quick and to the point. Glad I clicked on this video!

Erik-tpht
Автор

Best explanation of this concept I have seen on the internet, it's simple yet in depth and in 11minutes I learned with what I was struggling on for hours

roadgrandchamp
Автор

What's great about your explanation you explain WHY you do it this way. When I understand the reasoning behind what I am doing I retain it so much better. Thank you!

xx_theartfuldodger_xx
Автор

i watched this video in my bed sleepy and still understood everything, you good at explaining man. thanks

unpatientes
Автор

Best C tut I've come across. Great work !

Icy_Republic
Автор

Best explanation of this topic on the entire internet.

jahoopyjaheepu
Автор

This channel is growing to appear and I'm lucky to see it

spoofer
Автор

Cool, nice lecture!I also saw your video about malloc

Recordingization
Автор

You know what sense is? It’s you. Thank you 🌸

T-She-Go
Автор

ok thanks for the actually really good explanation on arrays and memory

mrdiabeatis
Автор

Thank your for this video, it was very helpful. I'm still having problems with realloc(), but you helped me realize that it is not really necessary for my use case.

Mango
Автор

You are the BEST!!!! I mean it. You have been of great assistance for my understanding of C!!!! THANK YOU ->BEST!!! Wish I had 10000 likes

sotirisioannou
Автор

mi-am dat seama din primele 10 secunde ca esti roman:)), bune tutoriale, mersi fain de ele!

pustai
Автор

A masters in engineering, working for a billion dollar company, yet once again, a random on youtube (no offence) has beat them all.

TheFlipsta
Автор

How would one go about shrinking an array length and removing the excess elements/index’s? I’ve tried realloc but it doesn’t seem to work properly when giving it a smaller size. Example: array size of 9, populate each index, now shrink it from size 9 to size 4 while keeping index’s 0-3 and discarding the rest 4-8

SirAbuser
Автор

I've seen this concept of realloc'ing memory by a factor of two until you have enough memory come up a fair bit. Is this some sort of best practice? Like a compromise between guaranteeing enough memory and not reallocating memory any more than necessary?

TheScoobysteve