Introduction
来源:互联网 发布:软件项目实施计划 编辑:程序博客网 时间:2024/06/06 20:48
1、C语言于1972年发明,首次使用是用于重写UINX操作系统(UNIX以前是用汇编写的)
It has been closely associated with the UNIX system where it was developed, since most of the system and most of the programs that run on it are written in C
2、C语言是面向过程的
3、BCPL—>B—>C
BCPL and B are “typeless” languages. By contrast, C provides a variety of data types.
4、C语言的数据类型有:整型(int)、实型(float)、字符型(char)、数组类型(int [])、指针类型(void *)、结构体类型(struct)、共用体类型(union)等。
fundamental types: characters、integers、floating-point numbers of several sizes
derived data types: pointers、arrays、structures、unions
5、控制流
fundamental control-flow constructions:
(1)statement grouping
(2)decision making:if-else
(3)selecting one of a set of possible cases:switch
(4)looping with the termination test at:1⃣️the top:while/for2⃣️the bottom:do-while
(5)early loop exit:break
6、由于C语言允许直接访问物理地址,可以直接对硬件进行操作,因此它既具有高级语言的功能,又具有低级语言的许多功能,能够像汇编语言一样对位(bit)、字节和地址进行操作,而这三者是计算机最基本的工作单元。
C is a relatively “low level” language
- Introduction
- Introduction
- Introduction
- Introduction
- Introduction
- Introduction
- Introduction
- Introduction
- Introduction
- Introduction
- introduction
- Introduction
- Introduction
- introduction
- Introduction
- Introduction
- Introduction
- Introduction
- 经典算法题每日演练——第三题 猴子吃桃
- Spring--ClassPathResource
- 十月份英语学习——出现了一个小插曲
- Session 方法简介
- Spring学习3--基于注解的组件扫描
- Introduction
- SSH面试集锦——不看后悔哦!
- 心累,最初的梦想还能走多远?
- 图像处理基础知识(一)
- 第九周--项目3稀疏矩阵的三元组表示的实现及应用(1)
- 关于VC6的map文件和RTP文件
- 分享到微信的消息跳转到第三方APP
- kill process
- GCD的基本使用