• Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    BSzili
    Posts: 559 from 2012/6/8
    From: Hungary
    You have two choices: either rename your list class to something else (e.g. MyList) or let the preprocessor do it for you, by adding this line to the beginnig of your list.h:
    Code:
    #define List MyList

    If you choose the latter, make sure to include your list.h after the system headers, or you'll end up redefining List in the system headers too.
    This is just like television, only you can see much further.
  • »27.02.16 - 20:54
    Profile Visit Website