Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Opinions on a quick C tutorial

Name: Anonymous 2013-03-17 22:03

http://wololo.net/talk/viewtopic.php?f=37&t=6236

Shoot it up and I'll let the author know.

Name: Anonymous 2013-03-20 0:55

>>25
K&R2 certainly has its flaws. It's by no means perfect, but I think it does a better job than most others for teaching the fundamentals of C. DEY DIDNT KEEP IT UP TO DATE WITH DA LATER STANDARDS CUZ DEM ISO FAT CATS JUST WANTED TO RUIN DA LANGUAGE DAT DEANIS RICKY LOVED.

>>26
It's magic. Actually, they just write the value of trick sixteen bytes ahead of where p is stored. If the author of that code were more familiar with C they'd probably have written it like this instead:

int *p;
*(void (**) (void)) ((char *) &p + 16) = trick;


But if that were so, I don't think they'd have written it in the first place.

>>27
I'm thinking about writing a C reference with a similar tone. FUKIN STACK BOYS GOTTA LEARN SOMEHOW.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List