当前位置:网站首页>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、嵌套循环
边栏推荐
- 阿里云李飞飞:中国云数据库在很多主流技术创新上已经领先国外
- Guest brush SQL - 2
- Sound Signal Processing Fundamental Frequency Detection and Time-Frequency Analysis
- weight distribution
- dbeaver连接MySQL数据库及错误Connection refusedconnect处理
- Monitor the width and height of the parent element, adapt to the size of the plug-in
- 图像基本操作的其他内容
- 奇葩问题 npm install 报错 gyp ERR
- Image lossless compression software which works: try completely free JPG - C image batch finishing compression reduces weight tools | latest JPG batch dressing tools download
- GO错误处理方式
猜你喜欢

MVVM project development (commodity management system 1)

dbeaver连接MySQL数据库及错误Connection refusedconnect处理

Golang: go get url and form attribute value

Json对象和Json字符串的区别

Fist game copyright-free music download, League of Legends copyright-free music, can be used for video creation, live broadcast

How to generate and configure public key certificate in Alipay

JS的运行原理

Motion analysis and parameter optimization of crank-slider mechanism

小程序通过云函数操作数据库【使用get取数据库】

Guest brush SQL - 2
随机推荐
Leetcode第 304 场周赛
Golang: go get url and form attribute value
Practical training Navicat Chinese and English mode switching
从购买服务器到网站搭建成功保姆级教程~超详细
阿里云李飞飞:中国云数据库在很多主流技术创新上已经领先国外
Json对象和Json字符串的区别
三维坐标系距离
my creative day
LeetCode Question of the Day (309. Best Time to Buy and Sell Stock with Cooldown)
How to use Photoshop to composite star trail photos, post-processing method of night sky star trail photos
仿牛客网项目总结
The Bean's life cycle
2022.7.27 Selected lectures on good topics
MVVM项目开发(商品管理系统一)
LeetCode 0149. Maximum number of points on a line
戴尔PowerEdge服务器R450 RAID配置步骤
The BP neural network based on MATLAB voice characteristic signal classification
史上超强最常用SQL语句大全
自制一款远程控制软件——VeryControl
爬虫基本原理介绍、实现以及问题解决