Hi Eric,
You should put a copy constructor in your Anton class.
"Anton(Anton& a)" isn't a copy constructor. You need an "Anton(Anton const& a)".
Anton (Anton &), _is_ a copy constructor, it just isn't a const copy constructor. [12/1]/10
You'll be able to copy non-const objects, but not copy const ones.
nathan -- Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC The voices in my head said this was stupid too nathan@xxxxxxxxxxxxxxxx :: http://www.planetfall.pwp.blueyonder.co.uk