C++常见错误

1. 

当使用std::string时报错

namespace “std” has no member “string”

这时头文件应该加入#include "stdafx.h" 和#include<iostream>

 

原文地址:https://www.cnblogs.com/jzzgci/p/8574454.html