Design Principles with Pointer Parameters and Functions

  Рет қаралды 8,460

Kris Jordan

Kris Jordan

Күн бұрын

Пікірлер: 12
@grimvian
@grimvian Жыл бұрын
Again a very, very vell produced "Learning C video". I'm using heap on a dayli basis and tought I knew how to, and yet again you showed, how to use the heap with inplicit casting! From a pegogical view you did a deeper video and pointed out the pros and cons in a very good pace. Your students must be happy with you. Also not using music and no annoying video editing is superb. In my country a 3 days C course at high level, cost about 2600 dollars...
@adambishop328
@adambishop328 2 жыл бұрын
Great Video! Before, I was having a difficult time using pointers as parameters and understanding the const vs. not const distinction. Was hoping there was another video about freeing and ownership, but hopefully it's in the works
@arampee
@arampee 2 жыл бұрын
Great Video
@kambizkambiz2339
@kambizkambiz2339 3 жыл бұрын
Great Video! Question is I couldn't find the next video you mention at 37:00 for calling a function before releasing the memory allocated by malloc().
@kalakarun
@kalakarun 3 жыл бұрын
Very useful video. Thanks
@Rai_Te
@Rai_Te 9 ай бұрын
At 5:51 there is a misconception. ... The called function Point_print() did NOT change the pointer it was given ... instead, it changed data the given pointer pointed to. Yes I know, this is what you meant ... but it is not what you said. It is important for the viewer to understand, that in C arguments are passed 'by value' (with the exception of arrays) ... so a function you call gets a copy and if it makes changes to the parameter, only the copy is changed. So, in this case, the function gets a pointervalue copied to its stack and made available to it in the variable you called 'self' ... a change to this variable (like self++) would not change anything in the caller. but since this variable is a pointer (and is therefore pointing to something, something that has not been copied), this pointer can be used to change the data the pointer points to ... and this is now visible to the caller.
@yanshixiong434
@yanshixiong434 3 жыл бұрын
great video~ !
@t.p.2305
@t.p.2305 Жыл бұрын
Super!
@63montywilliams50
@63montywilliams50 3 жыл бұрын
would have been cool if you included the header file and point function
@Vibratebalance
@Vibratebalance 2 жыл бұрын
Thank you.
@creepr524
@creepr524 2 жыл бұрын
Still waiting for next video
@ibrahimtayyem9260
@ibrahimtayyem9260 3 жыл бұрын
Thanks alot!
Introducing Pointers and the Address Of Operator in C
52:08
Kris Jordan
Рет қаралды 8 М.
Kluster Duo #настольныеигры #boardgames #игры #games #настолки #настольные_игры
00:47
Synyptas 4 | Арамызда бір сатқын бар ! | 4 Bolim
17:24
My Daughter's Dumplings Are Filled With Coins #funny #cute #comedy
00:18
Funny daughter's daily life
Рет қаралды 31 МЛН
Who’s the Real Dad Doll Squid? Can You Guess in 60 Seconds? | Roblox 3D
00:34
Python Function Call Semantics
34:13
Kris Jordan
Рет қаралды 8 М.
Embedded C Programming Design Patterns | Clean Code | Coding Standards |
1:38:10
Master Pointers in C:  10X Your C Coding!
14:12
Dave's Garage
Рет қаралды 315 М.
"New" Features in C - Dan Saks
59:52
NDC Conferences
Рет қаралды 121 М.
C Arrays and Pointers to Pointers
35:20
Kris Jordan
Рет қаралды 18 М.
Java Functional Programming | Full Course
2:22:15
Amigoscode
Рет қаралды 573 М.
Kluster Duo #настольныеигры #boardgames #игры #games #настолки #настольные_игры
00:47