Yes, erm, what I expected. VC6 doesn't support closing of ranges for
variables declared at the beginning of a for statement.
There is a workaround, but I can't test it probably since I don't want to install vc6 (I use 7).
Anyway, change your "print" code and see what happens, in the mean time I'll wait for a friend of mine for your problem:
Code:
VPairs::iterator i = Deck.begin();
for(; i <= Deck.end(); ++i)
{
cout<< (*i).first <<" "<< (*i).second<<endl;
}