Design Principles with Pointer Parameters and Functions

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

Kris Jordan

Kris Jordan

Күн бұрын

Пікірлер: 12
@arampee
@arampee 2 жыл бұрын
Great Video
@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...
@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
@yanshixiong434
@yanshixiong434 3 жыл бұрын
great video~ !
@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
@t.p.2305
@t.p.2305 2 жыл бұрын
Super!
@Rai_Te
@Rai_Te Жыл бұрын
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.
@63montywilliams50
@63montywilliams50 3 жыл бұрын
would have been cool if you included the header file and point function
@creepr524
@creepr524 2 жыл бұрын
Still waiting for next video
@ibrahimtayyem9260
@ibrahimtayyem9260 3 жыл бұрын
Thanks alot!
@Vibratebalance
@Vibratebalance 2 жыл бұрын
Thank you.
Introducing Pointers and the Address Of Operator in C
52:08
Kris Jordan
Рет қаралды 8 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
"New" Features in C - Dan Saks
59:52
NDC Conferences
Рет қаралды 122 М.
Bits, Nibbles, and Bytes in Memory
13:48
Kris Jordan
Рет қаралды 10 М.
8 Design Patterns | Prime Reacts
22:10
ThePrimeTime
Рет қаралды 451 М.
Embedded C Programming Design Patterns | Clean Code | Coding Standards |
1:38:10
Bitwise Operators in C
20:08
Kris Jordan
Рет қаралды 11 М.
7 Outside The Box Puzzles
12:16
MindYourDecisions
Рет қаралды 361 М.
Optimizing C for Microcontrollers - Best Practices - Khem Raj, Comcast RDK
52:39
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН