typedef struct
{
int item1;
char string1;
} MyStructure;
I usually place mine at the top of the C file or in a header file.
-----Original Message-----
From: Allen Yang <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Wednesday, August 25, 1999 11:39 AM
Subject: How to define typedef struct ?
>Hi, anyone:
>I tried to define typedef struct in the code, and it keeps coming up
errors.
>Anyone can tell me how (or where) to define the structure in CodeWarrior??
>
>Thanks as advance.
>
>Allen
>