摘要: https://blog.csdn.net/qq_29735775/article/details/81165882 1、cin 2、cin.get() 3、cin.getline() 4、getline() 5、gets() 6、getchar() 附:cin.ignore(); cin.get( 阅读全文
posted @ 2020-05-05 08:14 知了会爬树 阅读(286) 评论(1) 推荐(0)
摘要: 转载:https://blog.csdn.net/wucz122140729/article/details/98434702 格式化输出 格式化输出的函数有printf、sprintf和snprintf等,功能略有不同,使用方法大同小异,本章节我们以printf为例。 对于 printf 函数,相 阅读全文
posted @ 2020-05-05 07:39 知了会爬树 阅读(449) 评论(0) 推荐(0)