Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!hellgate.utah.edu!dog.ee.lbl.gov!ucsd!sdd.hp.com!elroy.jpl.nasa.gov!ncar!news.miami.edu!umiami!gross From: gross@umiami.ir.miami.edu (Mondo) Newsgroups: comp.sys.mac.programmer Subject: Linked Lists: Handles or Pointers? Message-ID: <1991Jan23.002212.7648@umiami.ir.miami.edu> Date: 23 Jan 91 05:22:11 GMT Organization: Univ. of Miami - Info Resources Lines: 24 Okay folks, here's yer big chance to solve a silly little argument for three of us novice Mac programmers. If you want to create a linked list, do you have to: a) Use a handle to the head node only and use pointers for the rest of the list (Problem we see: the Memory Manager will compact the heap and make all those ptrs invalid.) or b) Use linked handles for every node in the list. Please help us. Thanks. -- Jason Gross Comp Sci Ugrad University of Miami Class of '91 (?) =========================================================================== Hey, wanna save the world? | Got sumtin' to say? gross@umiami.bitnet Nuke a Godless, Communist, | Pick and choose! gross@umiami.ir.miami.edu gay whale for Christ. | gross@miavax.ir.miami.edu - Anonymous | jgross@umbio.med.miami.edu =========================================================================== The University of Miami has a lovely fountain.