摘要: cout 是C++中 ostream 类型的对象 cout 是C++中 ostream 类型的对象,该类被封装在 < iostream > 库中,该库定义的名字都在命名空间 std 中,所以 cout 全称是 std::cout 。 1、cout支持多种数据类型,如int、float、double、 阅读全文
posted @ 2024-03-13 14:20 Pudding10335 阅读(120) 评论(0) 推荐(0) 编辑