CompuServe Messages

#Array vs Structure

    28-Apr-93 10:35:06
Fm: Greg Comeau@Comeau Cmptg 72331,3421
To: Jim Menix 70004,1732
I think what you're asking is: Is it better to do this: int larry[??]; float curly[??]; char mo[??]; or this: typedef struct stooges { int larry; float curly; char mo; }; stooges abunchofthem[????]; In general, the answer is the latter. If that is not your questions then hopefully somebody else will address it, or by all means please reask it.