Article View: comp.sys.mac
Article #9126Dynamic Memory Problem solved
From: David_Anthony_Guevara
Date: Fri, 08 Dec 1989 05:42
Date: Fri, 08 Dec 1989 05:42
13 lines
1047 bytes
1047 bytes
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
Technical Details
Message-ID:
<24808@cup.portal.com>Path:
arc1-ca.pugleaf.net!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_GuevaraShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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