Service Pack 5?
MSVC is not fully ISO/ANSI compliant. It's old you know.
Try this workaround:
Code:
typedef vector<pair<int,int> > VPairs;
VPairs Deck;
And the change the few lines in card constructor to this:
Code:
for(VPairs::iterator i = Deck.begin(); i != Deck.end(); ++i)
{
cout<< (*i).first <<" "<< (*i).second<<endl;
}