Paul Sulistio wrote:
>
> User userArr[3]={
> {1,"Joe","palm1"},
> {2,"Dan","palm2"},
> {3,"Tim","palm3"}
> };
>
> typedef struct{
> Int16 userID;
> const char *name;
> const char *password;
> }User;
>
> I got expression syntax error.
The typedef has to precede the array definition.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
- How to Initialize data into array of structure Paul Sulistio
- Re:How to Initialize data into array of structure Thomas Maeder
- Re:How to Initialize data into array of structure Paul Sulistio
- Re:How to Initialize data into array of structure Philip Sheard
- Re: Re:How to Initialize data into array of structure Chris Tutty
