Xref: utzoo comp.sys.mac:43769 comp.sys.mac.programmer:11011 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uakari.primate.wisc.edu!brutus.cs.uiuc.edu!wuarchive!uunet!portal!cup.portal.com!David_Anthony_Guevara From: David_Anthony_Guevara@cup.portal.com Newsgroups: comp.sys.mac,comp.sys.mac.programmer Subject: Dynamic Memory Problem solved Message-ID: <24808@cup.portal.com> Date: 8 Dec 89 05:42:11 GMT Distribution: usa Organization: The Portal System (TM) Lines: 13 OK, I solved my "problem" with dynamic memory allocation under Think C 4.0. As I stated in my original post, the program did run under VAX C 3.0. Through oversight (and the fact that TC didn't object) I forgot to include the proper header file (stdlib.h). After I made that change and corrected for the difference in the integer size between the two machines, the program ran perfectly. Thanks to all of you who answered my cry for help. Dave Guevara, Internet: guevara@fsd.arc.nasa.gov guevara@fsdvx2.arc.nasa.gov David_Anthony_Guevara@cup.portal.com