Is using a list in a class unusual? All the examples I find searching
through lots of web pages and books all show them in main.
What Im doing: Main does initialization of the screen and things like that.
Then the program is passed to a single instance of a class that controls
everything from there, and doesnt return to main until the program ends. Im
looking to use a few lists (list<int> myint) in it. First idea was to put
them in the contructor... which didnt work as other functions outside of it
didnt them. No surprise. Put the lines in the header or putting them
outside the class itself? Nope... errors like "pushback is not a member
function".
I did read in a few places that the SGI's STL conflicts with the MS one
included in VC++. Perhaps its that, if one of the above is actually the
right way to go about it.
cheers