use typedef for vector. For example, typedef vector< string > map;