Ladies and gentlemen, this is how you teach. Kris is oozing with competence and pedagogical thoughts. I now feel comfortable with C and know about 19 different KZitemrs teaching C, but Kris takes teaching to a higher level. It's really nice that there's no fancy video editing or irrelevant noise or music - just bare teaching!
@marcoliebl3715
2 жыл бұрын
Thank you very much from a german IT student that now understands function pointers way better :-)
@vishvanathkarthi4311
3 жыл бұрын
Damn! Thank you for this Kris. It is very helpful.
@UmmadikTas
3 жыл бұрын
Thank you. I'm supposed to be doing my OS assignment but the video was really interesting xd
@philipphortnagl2486
Жыл бұрын
great as always
@LingvoScienceUSA
9 ай бұрын
What's that plugin for C?
@lattehour
4 ай бұрын
it`s the same as with pointers to arrays you have to use parenthesis around the *name because * has lower precedence than ( ) ... how else would the compiler even know that you ain`t actually declaring a ptr return type , ps when you want to use a function as a parameter in a function implemention you dont even need the pointer just write the function in the declaration and when you call that function it`s generalized by default you can simply call it with any function as the type you used in declaration e.g void euler_method( double generic_F(int, int) , dbl a , dbl b ) you can have as many as you want in the param list thne you simply use your euler_method( sqrt , 5.5, 3.3) the main ideea behind all pointer types is based on 3 reasons 1. type checking, interpretation and arithmetics without encapsulating the type of the object inside the Pointer Metadata this can`t be done as the compiler has absolutely no means of understanding the memory layout to do the arithmetics , it has no way to interpret the bits is it a double or a long int ? and it can`t understand the intent because dividing a char string by 3 has no purpose or meaning it`s absurd
@lattehour
4 ай бұрын
ps in assembly you can only have 6 in the param list dont know in C only ever used 3
Пікірлер: 9