i got this code, with a little problem

Code:
// hhh.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"

#include <map>
#include <string>
using namespace std;

typedef std::map<std::string, std::string> MyMap;

// MyMap TestMap; - As soon as i uncomment this line, it compiles fine :S

int main() {

	std::string chan( "#Channel" );
	std::string mark( "Mark" );


	return 0;
}


that MyMap TestMap is causing problems, but when i comment it, it compiles fine, but i need it for this to work right?

Last edited by pouncer; 21/01/06 12:59 PM.