字符串输入输出cin.get的用法
来源:互联网 发布:刘亦婷混的好吗知乎 编辑:程序博客网 时间:2024/05/01 02:10
#include "stdafx.h"#include "iostream"#include "windows.h"#include "string"#include "cstring"using namespace std;int main(int argc, char* argv[]){char name[21],ch[21];int age;cout<<"Please enter your name : \n";cin.get(name,20).get();cout<<"Please enter your mother's name : \n";cin.get(ch,20);cout<<"Please enter your age : \n";cin>>age;cout<<"Your name is "<<name<<" Your mother's name is "<<ch<<" your age is "<<age<<endl;system("pause");return 0;}
- 字符串输入输出cin.get的用法
- cin.get()的用法
- cin , cin.get() , cin.getline() , getline() , cin.ignore() 的用法
- cin、cin.get()、cin.getline()、getline()、gets()函数的用法
- cin、cin.get()、cin.getline()、getline()、gets()函数的用法
- cin、cin.get()、cin.getline()、getline()、gets()函数的用法
- cin、cin.get()、cin.getline()、getline()、gets()函数的用法
- cin、cin.get()、cin.getline()、getline()、gets()函数的用法
- cin、cin.get()、cin.getline()、getline()、gets()函数的用法
- cin>>,cin.get(),cin.getline()的一些用法
- cin、cin.get()、cin.getline()、getline()、gets()函数的用法
- cin、cin.get()、cin.getline()、getline()、gets()函数的用法
- C++ 中 cin cin.get() cin.getline()的用法
- cin、cin.get()、cin.getline()、getline()函数的用法
- cin、cin.get()和cin.getline()的用法和区别
- c++中输入字符串--cin.get和cin.getline用法
- cin,cin.get及其他get的用法
- cin学习--------cin.get()和cin.getline(),cin.clear(),cin.sync()等的用法.
- C++学习笔记:16章 泛型编程
- 大数相加 相乘
- 系统自带样式Android:theme
- 线程间操作无效:从不是创建控件“XX”的线程访问它
- 分组统计
- 字符串输入输出cin.get的用法
- Android中theme的用法
- java编码问题
- linux port ip
- 寻找链表倒数第K个结点
- 用Javascript编写Chrome浏览器插件
- RMQ(Range Minimum/Maximum Query)算法(nyist119)
- Apache Ant对决Make:实战Java构建工具
- 【GitHub】 github如何使用