[Courses] [C]
Eugene Teo
eugene.teo at eugeneteo.net
Thu Oct 10 23:37:05 EST 2002
<quote who="KWMelvin">
u> On Thu, Oct 10, 2002 at 10:07:47AM -0400, Elwing wrote:
u> > When you start getting into the more advanced C - let me know. I used to teach
u> > C to freshman programmers, and I can possibly offer tips, assignments, code,
u> > etc. to help y'all learn.
u> >
u> > By more advanced C - I mean the memory stuff. malloc, alloc, realloc, dmalloc,
u> > free, etc..
i think i had more fun drawing graph diagrams for multiple fork() calls
along with pipes and dup2. Driving me crazy :-)
u> > the easiest way to teach memory allocation is to have the students draw what
u> > memory looks like at specific points in the program.... It helps a lot, and
u> > eventually, you won't have to draw the simpler memory allocations, but I've
u> > been programming in C for almost 12 years now, and I still have to draw
u> > memory maps for more complicated programs and data structures..
use DDD.
--
eMail: eugeneteo at eugeneteo.net, eugeneteo at null.cc.uic.edu
gpg pub_key: http://null.cc.uic.edu/~eugeneteo/eugeneteo.asc
main(i){putchar(182623909>>(i-1)*5&31|!!(i<7)<<6)&&main(++i);}
More information about the Courses
mailing list