Original Post
This is what I have:
std::list< RECT > rectlist;
You guess it, I am making a list of RECTs. However, I am having trouble in inserting. I tried this:
rectlist.push_back( RECT(0,0,10,10) );
Of course it didn't work, so I tried this:
RECT dummyrect;
rectlist.push_back( dummyrect );
then I worried, what if I tried to push_back dummyrect multiple times? Does the list make a copy of my dummyrect when I insert it?
My compiler generates one error message: "does not compile." [edited by - alnite on December 9, 2002 10:16:54 PM]
My compiler generates one error message: "does not compile." [edited by - alnite on December 9, 2002 10:16:54 PM]