cin读取输入流,遇到空格会暂停,下次继续读入剩下的,+++。

#include <iostream>

using namespace std;

int main() {
cout<<"input sth."<<endl;
char a[];
cin >>a;
cin >>a;
cout << a << endl;
return ;
}

第二次全覆盖第一次。

最新文章

  1. java设计模式之外观模式
  2. vsftp linux
  3. 解决IIS Express 80端口被占用的情况
  4. acm算法模板(4)
  5. 在csdn里markdown感受
  6. 查询processlist具体信息
  7. linux正确重启MySQL的方法
  8. js判断ie浏览器
  9. GPU加速有坑?
  10. jQuery中的自定义插件之----工厂方法(Factory Widget)
  11. bugku web web5
  12. Archive &amp; Backup 概念
  13. BZOJ3252 攻略 贪心、长链剖分
  14. H5+JS生成验证码
  15. 关于mysql中information_schema.tables
  16. BinarySearch
  17. Jira 迁移工作
  18. java通过get或post方式传到PHP的某控制器的某方法下
  19. centos7.5yum安装mysql(官方yum源比较慢)
  20. thymleaf 常用th 标签

热门文章

  1. 【HDU-1045,Fire Net-纯暴力简单DFS】
  2. 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
  3. Docker那些事儿之镜像创建
  4. Nginx入门(三)——正向代理
  5. 前端学习笔记--CSS入门
  6. go语言的内建变量类型
  7. WebForm FindControl的使用方法
  8. input 限制输入数字和小数
  9. SpringAOP进阶
  10. Devtool-Console