会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
kalice
博客园
首页
新随笔
联系
订阅
管理
2020年5月17日
c++中peek函数的用法
摘要: peek()用于看接下来读入的那个字符是什么,没有输入也没有丢弃,你可以正常使用cin。 返回值是字符。 使用方法为cin.peek()。 #include <iostream> #include<ctype.h> #include<vector> #include<string> using na
阅读全文
posted @ 2020-05-17 17:53 kalice
阅读(2742)
评论(0)
推荐(1)
公告