“std”: 具有该名称的命名空间不存在
当只用using namesp std 时,会报 error C2871: “std”: 具有该名称的命名空间不存在。
包含一个含有std的头文件就不会报错了,比如<iostream>、<functional>、<algorithm>等
posted on 2013-09-27 10:26 albert1017 阅读(1489) 评论(0) 编辑 收藏 举报
当只用using namesp std 时,会报 error C2871: “std”: 具有该名称的命名空间不存在。
包含一个含有std的头文件就不会报错了,比如<iostream>、<functional>、<algorithm>等
posted on 2013-09-27 10:26 albert1017 阅读(1489) 评论(0) 编辑 收藏 举报