学习笔记——C++编程cin测试记录
2024-08-30 05:02:55
cin读取输入流,遇到空格会暂停,下次继续读入剩下的,+++。
#include <iostream> using namespace std; int main() {
cout<<"input sth."<<endl;
char a[];
cin >>a;
cin >>a;
cout << a << endl;
return ;
}
第二次全覆盖第一次。
最新文章
- java设计模式之外观模式
- vsftp linux
- 解决IIS Express 80端口被占用的情况
- acm算法模板(4)
- 在csdn里markdown感受
- 查询processlist具体信息
- linux正确重启MySQL的方法
- js判断ie浏览器
- GPU加速有坑?
- jQuery中的自定义插件之----工厂方法(Factory Widget)
- bugku web web5
- Archive &; Backup 概念
- BZOJ3252 攻略 贪心、长链剖分
- H5+JS生成验证码
- 关于mysql中information_schema.tables
- BinarySearch
- Jira 迁移工作
- java通过get或post方式传到PHP的某控制器的某方法下
- centos7.5yum安装mysql(官方yum源比较慢)
- thymleaf 常用th 标签
热门文章
- 【HDU-1045,Fire Net-纯暴力简单DFS】
- Parameter 0 of method redisTemplate in org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration required a bean of type &#39;org.springframework.data.redis.connection.RedisConnectionFactor
- Docker那些事儿之镜像创建
- Nginx入门(三)——正向代理
- 前端学习笔记--CSS入门
- go语言的内建变量类型
- WebForm FindControl的使用方法
- input 限制输入数字和小数
- SpringAOP进阶
- Devtool-Console