Загрузка видео...

Не удалось загрузить видео

На главную

Professor Jerry Cain from Stanford University covers C programming, emphasizing pointers and structs. He demonstrates an unconventional method to access struct fields. I highly recommend this entire 29-video series for anyone interested in C.

963,790 просмотров • 2 лет назад •via X (Twitter)

Комментарии: 10

Фото профиля tetsuo.ai - e/acc
tetsuo.ai - e/acc2 лет назад

Full Series: Stanford University - C programming

Фото профиля Forestman
Forestman2 лет назад

Nothing unconventional here.. just basic pointer operations. It is, however not "didactic" or "orthodox" in its approach. The explanation is very good and all programmers should know this.

Фото профиля tetsuo.ai - e/acc
tetsuo.ai - e/acc2 лет назад

"We cannot direct the wind, but we can adjust the sails." — Dolly Parton 🤣

Фото профиля tetsuo.ai - e/acc
tetsuo.ai - e/acc2 лет назад

On my system ((struct fraction *) &(pi.denom)->denom=33 overwrites 4 bytes of the stack carnary and causes a SIGABRT. @alexbtaylor

Фото профиля alexbtaylor
alexbtaylor2 лет назад

I mean .... it would print out a 33... or smash a stack or address space elsewhere and cause unpredictable behavior?

Фото профиля EJ Campbell
EJ Campbell2 лет назад

Kids, this is why c programmers can’t have nice things

Фото профиля tetsuo.ai - e/acc
tetsuo.ai - e/acc2 лет назад

lol

Фото профиля Michelle Qin
Michelle Qin2 лет назад

That's my academic advisor!!

Фото профиля tetsuo.ai - e/acc
tetsuo.ai - e/acc2 лет назад

Holy crap, nice—he is actually cracked.

Фото профиля Treylorswift
Treylorswift2 лет назад

Anyone else think that the drawing of memory with “higher” addresses going up is backwards? Higher addresses visually go down… at least, they do in my mind 😂

Похожие видео