兄弟,为什么我Xcode上写C++的时候用cout和cin系统总提示要加std?

2025-05-20 14:07:15
推荐回答(1个)
回答(1):

在最开头加上using namespace std;就行了,因为cout 与 cin在std命名空间内。