[NEWBIE] Arrays

From: Jourge Fuzz Bush (modem-burn@GEOCITIES.COM)
Date: 10/25/98


Well I'm trying to define an global array of structs. Now when I do the
following:

struct obj_data *tempname[];
it says I need curly braces.
so when I go:
struct obj_daya *tempname[] { NULL };
it crashes every time I try to access it.
When I try
struct obj_data *tempname[] { { NULL } }; it crashes
when I try
struct obj_data *tempname[] { { '\0' } };
it writes to the first thing fine but after that no matter what you do
it crashes.

Anybody know how to declare a struct like I'm using. And please don't
say to use the create function because it don't apply to what I'm using
it for.

Thanks,
        - Matt


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST