View Single Post
Old 05-07-2004, 09:42 AM   #30 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,544
Valmont is on a distinguished road
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;
	}
__________________

Last edited by Valmont; 05-07-2004 at 10:18 AM.
Valmont is offline   Reply With Quote