C++常见错误 1. 当使用std::string时报错 namespace “std” has no member “string” 这时头文件应该加入#include "stdafx.h" 和#include<iostream>