暂无评论
图文详情
- ISBN:9787121449765
- 装帧:平塑
- 册数:暂无
- 重量:暂无
- 开本:其他
- 页数:320
- 出版时间:2023-05-01
- 条形码:9787121449765 ; 978-7-121-44976-5
内容简介
如何让读者在短时间内掌握C语言程序设计的方法,是编者编写本书的目的。本书包括10 章:第 1~3 章介绍C 语言的基础知识及基本程序结构;第4~6 章着重介绍数组、指针和函数的相关内容;第7 章简要介绍编译预处理;第8 章介绍结构体和链表;第9 章介绍文件的相关内容;第10 章介绍实训项目。本书内容实用且通俗易读,体系合理,既可作为高等职业院校学生的C 语言课程的教材,也可作为培训机构的教材。
目录
第1 章 C 语言概述 ···························································································.1
1.1 C 语言产生的背景 ·················································································.1
1.2 C 语言的特点 ·······················································································.2
1.3 C 语言程序的结构 ·················································································.2
1.3.1 C 语言程序的基本单位 ···································································.2
1.3.2 C 语言函数的格式 ·········································································.2
1.3.3 关键字 ·······················································································.4
1.4 C 语言程序的集成开发环境 ·····································································.5
1.4.1 Dev-C 的安装和使用 ···································································.5
1.4.2 Visual C 2010 的安装和使用 ·························································.9
实训1 认识C 语言程序 ········································································.16
本章小结 ··································································································.17
习题1 ······································································································.17
第2 章 数据类型、运算符与表达式 ·····································································.19
2.1 C 语言的数据类型 ················································································.19
2.2 常量与变量 ·························································································.20
2.2.1 直接常量和符号常量 ····································································.20
2.2.2 变量 ·························································································.22
2.2.3 常变量 ······················································································.22
2.3 整型数据 ····························································································.23
2.3.1 整型常量 ···················································································.23
2.3.2 整型变量 ···················································································.24
实训2 使用整型数据 ···········································································.27
2.4 实型数据 ····························································································.28
2.4.1 实型常量 ···················································································.28
2.4.2 实型变量 ···················································································.29
实训3 使用实型数据 ···········································································.30
2.5 字符型数据 ·························································································.31
2.5.1 字符常量 ···················································································.31
2.5.2 字符变量 ···················································································.32
2.5.3 字符串常量 ················································································.34
实训4 使用字符型数据 ········································································.35
2.6 算术运算符和算术表达式 ·······································································.36
2.7 赋值运算符和赋值表达式 ·······································································.38
2.8 关系运算符和关系表达式 ·······································································.43
2.9 逻辑运算符与逻辑表达式 ·······································································.44
2.10 逗号运算符和逗号表达式 ·····································································.46
2.11 位运算 ·····························································································.47
2.11.1 位逻辑运算符 ············································································.48
2.11.2 移位运算符 ···············································································.50
2.11.3 位赋值运算符 ············································································.50
2.11.4 不同长度的数据进行位运算 ··························································.51
实训5 使用运算符和表达式 ··································································.51
本章小结 ···············
1.1 C 语言产生的背景 ·················································································.1
1.2 C 语言的特点 ·······················································································.2
1.3 C 语言程序的结构 ·················································································.2
1.3.1 C 语言程序的基本单位 ···································································.2
1.3.2 C 语言函数的格式 ·········································································.2
1.3.3 关键字 ·······················································································.4
1.4 C 语言程序的集成开发环境 ·····································································.5
1.4.1 Dev-C 的安装和使用 ···································································.5
1.4.2 Visual C 2010 的安装和使用 ·························································.9
实训1 认识C 语言程序 ········································································.16
本章小结 ··································································································.17
习题1 ······································································································.17
第2 章 数据类型、运算符与表达式 ·····································································.19
2.1 C 语言的数据类型 ················································································.19
2.2 常量与变量 ·························································································.20
2.2.1 直接常量和符号常量 ····································································.20
2.2.2 变量 ·························································································.22
2.2.3 常变量 ······················································································.22
2.3 整型数据 ····························································································.23
2.3.1 整型常量 ···················································································.23
2.3.2 整型变量 ···················································································.24
实训2 使用整型数据 ···········································································.27
2.4 实型数据 ····························································································.28
2.4.1 实型常量 ···················································································.28
2.4.2 实型变量 ···················································································.29
实训3 使用实型数据 ···········································································.30
2.5 字符型数据 ·························································································.31
2.5.1 字符常量 ···················································································.31
2.5.2 字符变量 ···················································································.32
2.5.3 字符串常量 ················································································.34
实训4 使用字符型数据 ········································································.35
2.6 算术运算符和算术表达式 ·······································································.36
2.7 赋值运算符和赋值表达式 ·······································································.38
2.8 关系运算符和关系表达式 ·······································································.43
2.9 逻辑运算符与逻辑表达式 ·······································································.44
2.10 逗号运算符和逗号表达式 ·····································································.46
2.11 位运算 ·····························································································.47
2.11.1 位逻辑运算符 ············································································.48
2.11.2 移位运算符 ···············································································.50
2.11.3 位赋值运算符 ············································································.50
2.11.4 不同长度的数据进行位运算 ··························································.51
实训5 使用运算符和表达式 ··································································.51
本章小结 ···············
展开全部
作者简介
章晓勤,女,硕士,副教授,任职于安徽电子信息职业技术学院。多年来,一直从事计算机软件技术专业的教学工作,主讲多门计算机专业课程,编写多部计算机专业教材,其中获选“十二五”职业教育国家规划教材一部,参与并作为主要完成人的项目曾获国家教学成果二等奖。
本类五星书
本类畅销
-
深度学习的数学
¥43.5¥69.0 -
全图解零基础word excel ppt 应用教程
¥19.0¥48.0 -
机器学习
¥59.4¥108.0 -
有限与无限的游戏:一个哲学家眼中的竞技世界
¥37.4¥68.0 -
智能硬件项目教程:基于ARDUINO(第2版)
¥31.9¥65.0 -
硅谷之火-人与计算机的未来
¥12.7¥39.8 -
元启发式算法与背包问题研究
¥38.2¥49.0 -
AI虚拟数字人:商业模式+形象创建+视频直播+案例应用
¥62.9¥89.8 -
UNIX环境高级编程(第3版)
¥164.9¥229.0 -
剪映AI
¥52.8¥88.0 -
深度学习高手笔记 卷2:经典应用
¥90.9¥129.8 -
纹样之美:中国传统经典纹样速查手册
¥76.3¥109.0 -
UG NX 12.0数控编程
¥22.1¥45.0 -
MATLAB计算机视觉与深度学习实战(第2版)
¥90.9¥128.0 -
界面交互设计理论研究
¥30.8¥56.0 -
微机组装与系统维护技术教程(第二版)
¥37.8¥43.0 -
基于3D打印技术的产品创新设计方法
¥45.8¥88.0 -
明解C语言:实践篇
¥62.9¥89.8 -
Linux服务器架设实战(Linux典藏大系)
¥83.3¥119.0 -
Visual Basic 语言程序设计基础(第6版)
¥32.0¥45.0