Kernighan & Ritchie rock :)

CTho9305

Elite Member
Jul 26, 2000
9,214
1
81
I spent ~3 days struggling through an implicit list version of malloc (simplest implementation possible) provided by my professor (his textbook rocks, in general), and just couldn't figure it out... it was using all sorts of little things to try to make it easier to understand and so on (such as wrapper functions and macros)... so this morning I looked at K&R's explicit list (a more advanced, better implementation) which was written in plain old unfriendly C with nothing special, and I immediately understood exactly how it works, so I can easily extend it to finish this homework assignment :). Old-school C = :cool: