在用vector时出现以下错误。
error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
error C2143: 语法错误 : 缺少“,”(在“<”的前面)
看是不是没有
#include <vector>
using std::vector
在用vector时出现以下错误。
error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
error C2143: 语法错误 : 缺少“,”(在“<”的前面)
看是不是没有
#include <vector>
using std::vector