当前位置:网站首页>C语言 输入带空格的字符串
C语言 输入带空格的字符串
2022-07-28 10:15:00 【小柳学渣】
char str[110];
scanf("%s",str);//输入不带空格的字符串
scanf("%[^\n]",str);//输入带空格的字符串
边栏推荐
- jvm原理
- 简介
- MySQL的SQL TRACE一例
- 中芯国际科创板IPO顺利过会,市值有望突破2000亿!
- SQL Server 2016 学习记录 --- 数据定义
- Step 4 - user development environment settings
- Uni app advanced life cycle
- Match file names from file paths using regular expressions
- Multithreading and high concurrency (III) -- source code analysis AQS principle
- Lucene 查询语法备忘
猜你喜欢

【栈的应用】--- 中缀表达式转后缀表达式

SQL Server 2016学习记录 --- 连接查询

Idea packages jar packages and runs jar package commands

Typora tutorial

PHP generates QR code (learning)

14、双指针——盛最多水的容器

7、二分法——寻找一组重复或者有序但是旋转的数组

14. Double pointer - the container that holds the most water

Get to know SuperMap idesktop for the first time

7. Dichotomy -- find a set of repeated or ordered but rotating arrays
随机推荐
吴雄昂遭Arm罢免内幕:建私人投资公司,损害了股东利益?
Uni app advanced creation component / native rendering
上下文变量值(context values)陷阱及在 Go 中如何避免或缓和这些陷阱
10 minute quick start EVs [play Huawei cloud]
JVM principle
What kind of knowledge payment system functions are more conducive to the development of the platform and lecturers?
简介
Pl/sql server syntax explanation
Lucene 查询语法备忘
Aqua Data Studio 18.5.0导出insert语句
15、判断二维数组中是否存在目标值
Record a parent-child project in idea, modify the name of project and module, and test it personally!
3.用数组逆序打印链表
字符串匹配
SQL Server 2016 learning records - connection query
ACM寒假集训#5
Redis design specification
Add new startup logo and startup / shutdown animation in mt6735
Detailed explanation of thread synchronization volatile and synchronized
QT | some summaries of signals and slots