Struct declaration error in C

Posted by Spidfire on Stack Overflow See other posts from Stack Overflow or by Spidfire
Published on 2010-05-24T12:07:41Z Indexed on 2010/05/24 12:11 UTC
Read the original article Hit count: 252

Filed under:
|
|

ive got a struct problem it returns:

cd.h:15: error: two or more data types in declaration specifiers

its probably something simple ...

  struct cd {
        char titel[32];
        char artiest[32];
        int speelduur;  

    };

    typedef struct cd CD;
    struct cdlijst{ 
        CD *item;
        struct cdlijst *next;
    }


    typedef struct cdlijst CDLijst;

© Stack Overflow or respective owner

Related posts about c

    Related posts about error