warning in Eclipse

Posted by lego69 on Stack Overflow See other posts from Stack Overflow or by lego69
Published on 2010-05-03T11:41:22Z Indexed on 2010/05/03 11:48 UTC
Read the original article Hit count: 330

Filed under:

hello, I have some problems with Eclipse, I have structure

struct Account{
    const char* strLastName;      //Client's last name
    const char* strFirstName;     //Client's first name
    int nID;                //Client's ID number
    int nLines;             //Number of lines related to account
    double lastBill;        //Client's last bill for all lines
    List linesDataBase;
};

And I can't compile my code eclipse gives me an errors:

  1. Syntax error before List
  2. no semicolon at end of struct or union
  3. ISO does not allow extra ";" outside a function

I have no idea how to change it, thanks in advance for any help

© Stack Overflow or respective owner

Related posts about c