VS2017 C++error C2039: "cout": 不是"std"的成员

2025-05-07 03:33:31
推荐回答(1个)
回答1:

包含文件次序错了。改为

#include "stdafx.h"
#include "iostream"
.....