typedef vector textwords; //编译出错行
#include <stdafx.h>
#include <vector>
#include <string>
#include <algorithm>
#include <iterator>
// 标准 C++ 之前的 <iostream> 语法
//#include <iostream.h>
#include <iostream>
using namespace std;
using std::allocator;
typedef vector<string, allocator> textwords; //编译出错行
error C3203: “allocator” : 类模板作为模板参数“_Ax”的模板参数无效,应输入 real 类型
各位大侠
为虾米~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~