当前位置:网站首页>C语言学习概览(二)
C语言学习概览(二)
2022-08-01 07:09:00 【Dαīsч】
四、字符串和格式化输入/输出
1、字符串简介
2、char类型数组和null字符
(1)、使用字符串
(2)、strlen()函数
3、常量和C预处理器
(1)、const限定符
(2)、明示常量
4、printf()和scanf()
(1)、printf()函数
(2)、使用printf()
(3)、printf()的转换说明修饰符
(4)、转换说明的意义
(5)、使用scanf()
(6)、printf()和scanf()的*修饰符
五、运算符、表达式和语句
1、基本运算符
(1)、赋值运算符:=
(2)、加法运算符:+
(3)、减法运算符:-
(4)、符号运算符:+和-
(5)、乘法运算符:*
(6)、除法运算符:/
(7)、运算符优先级
(8)、优先级和求值顺序
2、其他运算符
(1)、sizeof运算符和size_t类型
(2)、求模运算符:%
(3)、递增运算符:++
(4)、递减运算符:--
3、运算符的优先级
4、表达式和语句
(1)、表达式
(2)、语句
(3)、复合语句(块)
5、类型转换
六、C控制语句:循环
1、while语句
(1)、终止while循环
(2)、何时终止循环
(3)、while:入口条件循环
(4)、语法要点
2、用关系运算符和表达式比较大小
(1)、什么是真
(2)、其他真值
(3)、真值的问题
(4)、新的_Bool类型
(5)、优先级和关系运算符
3、不确定循环和计数循环
4、for循环
5、其他赋值运算符:+=、-=、*=、/=、%=
6、逗号运算符
7、出口条件循环:do while
8、如何选择循环
9、嵌套循环
边栏推荐
- Dell PowerEdge Server R450 RAID Configuration Steps
- LeetCode 0150. 逆波兰表达式求值
- ORACLE modify another user package (package)
- JVM: Runtime Data Area - PC Register (Program Counter)
- 插入排序—直接插入排序和希尔排序
- curl (7) Failed connect to localhost8080; Connection refused
- 零代码网站开发利器:WordPress
- Image lossless compression software which works: try completely free JPG - C image batch finishing compression reduces weight tools | latest JPG batch dressing tools download
- crypto-js uses
- Compare two objects are the same depth
猜你喜欢

从零开始—仿牛客网讨论社区项目(一)

rhcsa 第四天

How to use Photoshop to composite star trail photos, post-processing method of night sky star trail photos

Information system project managers must recite the work of the core test site (56) Configuration Control Board (CCB)

Electromagnetic compatibility introductory tutorial (6) test project

matlab simulink 粒子群优化模糊pid控制的电机泵

matlab 风速模型 小波滤波

Dell PowerEdge Server R450 RAID Configuration Steps

阿里三面:MQ 消息丢失、重复、积压问题,该如何解决?

升级为重量级锁,锁重入会导致锁释放?
随机推荐
return; represents meaning
实战演练 Navicat 中英文模式切换
Go 支持 OOP: 用 struct 代替 class
牛客刷SQL---2
响应式织梦模板园林花卉类网站
Golang:go连接和使用mysql
头歌MySQL数据库实训答案 有目录
Golang: go get url and form attribute value
LeetCode 0150. 逆波兰表达式求值
【南瓜书ML】(task4)神经网络中的数学推导(更新ing)
从底层结构开始学习FPGA(6)----分布式RAM(DRAM,Distributed RAM)
基于百度OCR的网站验证码在线识别
Monitor the width and height of the parent element, adapt to the size of the plug-in
奇葩问题 npm install 报错 gyp ERR
零代码网站开发利器:WordPress
05-SDRAM:仲裁
mysql的行锁和间隙锁
matlab simulink 粒子群优化模糊pid控制的电机泵
NIO编程
LeetCode Question of the Day (309. Best Time to Buy and Sell Stock with Cooldown)