Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rice!uw-beaver!cornell!rochester!pt.cs.cmu.edu!o.gp.cs.cmu.edu!andrew.cmu.edu!jp48+ From: jp48+@andrew.cmu.edu (Jonathan Pace) Newsgroups: comp.sys.mac.programmer Subject: Please help me allocate memory Message-ID: Date: 11 May 91 06:30:56 GMT Organization: Graduate School of Industrial Administration, Carnegie Mellon, Pittsburgh, PA Lines: 19 I'm working with a pointer to several arrays of type long. The pointer is used as a global. I can't figure out when and where to declare the sizes of the various arrays. I have a structure as follows instance { long *x; long *y; long *id; } ; and I know I want to declare the size of the x, y, and id arrays to be MAX_SIZE which I declare as a macro. Can someone please tell me how I should indicate to my program the size of these arrays. I'm getting desperate. Jon p.s. - please speak in simple terms, I don't have much experience programming the Mac in Think C.