error C2065: 'cin' : undeclared identifier 解决: #include <stdafx.h> #include <iostream> using namespace std;