C++常见错误

1. 

当使用std::string时报错

namespace “std” has no member “string”

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

 

 

posted @ 2018-03-15 16:45  jzzgci  阅读(344)  评论(0编辑  收藏  举报