InterviewGuide
InterviewGuide copied to clipboard
C++语法 90 勘误
cout<<是一个函数,cout<<后可以跟不同的类型是因为cout<<已存在针对各种类型数据的重载,所以会自动识别数据的类型。
std::cout 不是函数,是类std::ostream
的全局对象。
thx