当前课程知识点:C Programming >  Chapter 1 Introduction >  1.1 The development and characteristics of C language  >  1.The development and characteristics of C language .mp4

返回《C Programming》慕课在线视频课程列表

1.The development and characteristics of C language .mp4在线视频

下一节:1.2 A simple C Language program.mp4

返回《C Programming》慕课在线视频列表

1.The development and characteristics of C language .mp4课程教案、知识点、字幕

大家好

我云南大学信息学院的丁海燕老师

欢迎走进C语言程序设计课堂

今天我们讲解的是C语言的发展和特点

C语言是使用最广泛的语言之一

可以说

C语言的诞生是现代程序语言革命的起点

是程序设计语言发展史中的一个里程碑

自C语言出现后

以C语言为根基的C++

Java和C#等面向对象语言相继诞生

并在各自领域大获成功

根据TIOBE编程语言排行榜

2019年3月公布的数据排名前10的为

Java, C, Python, C++,

Visual Basic .NET, C#, JavaScript,

PHP, SQL 和 Objective-C

C语言位列第2

我们再来看2002-2018年TOP 10

编程语言 TIOBE 指数走势

C语言多年来一直位于选用率榜单前列

可以看出

到今天C语言依旧在系统编程

嵌入式编程等领域占据着统治地位

这也就是为什么我们要学习C语言

1.C语言至今仍然流行的原因是它无处不在

靠近硬件,被用于开发其它语言和操作系统

2.通过学习C语言

可从系统级上更好的理解程序的工作原理

3.大学应该继续教C语言

它是一种非常重要的基础性语言

要求完全理解整个技术栈

4.学会C语言后学生将能更深入的理解计算机

下面我们来看一下C语言的发展历程

1963年剑桥大学推出了CPL

1967年剑桥大学的Martin Richards(马丁·理察德)

把CPL语言改进为BCPL语言

1970 年 贝尔实验室 Ken Thompson(肯 汤普森)

将BCPL语言改造成B语言

1972年,Dennis M. Ritchie(理察德)

开始和Thompson(汤普森)合作开发UNIX

将B语言改造成C语言

1983年,美国国家标准局(ANSI)

成立了一个委员会,来制定C语言标准

1989年,C语言标准被批准

称为ANSI C,即C89

1990年,国际标准化组织(ISO)

接受ANSI C为ISO C的标准

1999年,ISO 对C语言标准修订

并命名为ISO/IEC9899:1999

即C99

2011年ISO正式发布C语言新标准C11

经过这50多年的发展

C语言的特点又会是什么样的呢

低级的高级语言

从C语言的处理方式来看

它属于高级语言

但从性能和控制来看

它将高级语言的基本结构和语句

与低级语言的实用性相结合

从总体上来说

可将C语言视为介于汇编语言

和高级语言之间的一种语言

结构式语言

C语言是以函数形式提供给用户的

它本身只提供必要的语言特性

这些函数不是作为C语言核心出现

可方便的调用

并具有多种循环

条件语句控制程序流向

从而使程序完全结构化

功能齐全

具有各种各样的数据类型

并引入了指针概念

可使程序效率更高

而且计算功能

逻辑判断功能也比较强大

可以实现决策目的的游戏

C语言兼容性、可移植性强,应用广

C语言对编写所需的硬件环境

兼容性优于其它高级语言

适用于多种操作系统

如Windows、DOS、UNIX等等

也适用于多种机型

保留了指针

可以直接进行靠近硬件的操作

但是C的指针操作不作保护

也给它带来了很多不安全的因素

C++在这方面做了改进

在保留了指针操作的同时又增强了安全性

受到了一些用户的支持

由于这些改进增加了语言的复杂度

也为另一部分用户所诟病

Java则吸取了C++的教训

取消了指针操作

也取消了C++改进中一些备受争议的地方

在安全性和适合性方面均取得良好的效果

但其本身解释在虚拟机中运行

运行效率低于C++/C

C语言文件由数据序列组成

可以构成二进制文件或文本文件

以上这6点就是C语言的特点

也是C语言的魅力所在

接下来我们一起看看C的优点

1.简洁紧凑、灵活方便

C语言一共只有32个关键字

9种控制语句,程序书写形式自由

区分大小写

把高级语言的基本结构

和语句与低级语言的实用性结合起来

C 语言可以像汇编语言一样对位

字节和地址进行操作

而这三者是计算机最基本的工作单元

2.运算符丰富

C语言的运算符包含的范围很广泛

共有34种运算符

C语言把括号、赋值

强制类型转换等都作为运算符处理

从而使C语言的运算类型极其丰富

表达式类型多样化

灵活使用各种运算符

可以实现在其它高级语言中

难以实现的运算

3.数据类型丰富

C语言的数据类型有

整型、实型、字符型、数组类型

指针类型、结构体类型、共用体类型等

能用来实现各种复杂的数据结构的运算

并引入了指针概念,使程序效率更高

4.表达方式灵活实用

C语言提供多种运算符和表达式值的方法

对问题的表达可通过多种途径获得

其程序设计更主动、灵活

它语法限制不太严格

程序设计自由度大

如对整型量与字符型数据

及逻辑型数据可以通用等

5.允许直接访问物理地址

对硬件进行操作

由于C语言允许直接访问物理地址

可以直接对硬件进行操作

因此它既具有高级语言的功能

又具有低级语言的许多功能

能够像汇编语言一样对位(bit)

字节和地址进行操作

而这三者是计算机最基本的工作单元

可用来写系统软件

6.生成目标代码质量高

程序执行效率高

C语言描述问题比汇编语言迅速

工作量小、可读性好

易于调试、修改和移植

而代码质量与汇编语言相当

C语言一般只比汇编程序生成的

目标代码效率低10%~20%

7.可移植性好

C语言在不同机器上的C编译程序

86%的代码是公共的

所以C语言的编译程序便于移植

有优点就有缺点,它的缺点是

1.数据的安全性不够高

2.C语言的语法限制不太严格

3.C语言比其他高级语言较难掌握

4. C语言在Web开发领域应用较少

在此

只是对C语言的基本特点

及其优缺点做了一个简要的介绍

具体内容还需要在后面的学习

过程中慢慢体会和领悟

好了,同学们

C语言的发展和特点我们就学习到这儿

下节课再见

C Programming课程列表:

Chapter 1 Introduction

-1.1 The development and characteristics of C language

--1.The development and characteristics of C language .mp4

--1.1 Self test questions

-1.2 A simple C Language program

--1.2 A simple C Language program.mp4

--Discussion unit

--【Source program】 Example 1.1 output a line of text Hello, world! "

--【Source program】 Example 1.2 program composed of multiple functions, find the larger of two integers

--1.2 Self test questions

-1.3 Program, Programming Language and C Program Running Steps

--1.3 Program, Programming Language and C Program Running Steps.mp4

--Discussion unit

--Running steps of C source program in CodeBlocks

--1.3 Self test questions

-Course references

-chapter 1 Self-Test

Chapter 2 Algorithm

-2.1 The Concept and Description of Algorithms

--2.1 The Concept and Description of Algorithms.mp4

--Discussion unit

--2.1 Self test questions

-2.2 Examples of Simple Algorithms, Computational Thinking and Structured Programming

--2.2 Examples of Simple Algorithms, Computational Thinking and Structured Programming.mp4

--Discussion unit

--2.2 Self test questions

-Chapter 2 Self test questions

Chapter 3 Programming in C

-3.1 Simple Structure and Identifier of C Language Program

--3.1 Simple Structure and Identifier of C Language Program.mp4

--【Source program】 Example 3.1 input two integers and output the sum of two numbers.

--【Source program】 Example 3.2 input two integers and output the average value.

--【Source program】 Example 3.3 output the value of the character variable.

--3.1 Self test questions

-3.2 Constants, Variables and Assignments

--3.2 Constants, Variables and Assignments.mp4

--Discussion unit

--3.2 Self test questions

-3.3 Arithmetic, assignment, increment and decrement operators

--3.3 Arithmetic, assignment, increment and decrement operators.mp4

--3.3 Self test questions

-3.4 Conditions, commas, addresses, byte operators, and mixed operations among various numerical data

--3.4 Conditions, commas, addresses, byte operators, and mixed operations among various numerical data

--【Source program】 example of sizeof

--3.4 Self test questions

-3.5 Input and Output Examples and Character Input and Output

--3.5 Input and Output Examples and Character Input and Output.mp4

--【Source program】 Example. Find the root of quadratic equation of one variable.

--【Source program】 Example 1. Successively output three characters of BOY.

--【Source program】Example 2. Input 3 characters of BOY from the keyboard and output them to the screen

--3.5 Self test questions

-3.6 Formatted output printf function

--3.6 Formatted output printf function.mp4

--【Source program】 Example 3.4 output of integer data.

--【Source program】 Example 3.5 real data output.

--【Source program】 Example 3.6 character data output.

--【Source program】 Example 3.7 uses %s to output a string.

--3.6 Self test questions

-3.7 Formatted input scanf function

--3.7 Formatted input scanf function.mp4

--Discussion unit

--【Source program】 Example 3.8 Input and output integer data

--【Source program】Example 3.9 Input and output single precision and double precision real data.

--【Source program】Example 3.10 input and output character data.

--【Source program】Example 3.11 input and output string.

--3.7 Self test questions

-3.8 Basic Data Types of C Language

--3.8 Basic Data Types of C Language.mp4

--3.8 Self test questions

-Chapter 3 Self test questions

-Operator and expression self test questions

Chapter 4 Selection Structure

-4.1 Relational operators, logical operators, and if statements

--4.1 Relational operators, logical operators, and if statements.mp4

--Discussion unit

--【source example】Example 4.1 Find the root of the quadratic equation of one variable.

--【Source program】Example 4.2 Input two real numbers and output them from small to large.

--4.1 Self test questions

-4.2 Switch Statement

--4.2 Switch Statement .mp4

--Discussion unit

--【Source program】Example 4.3 uses switch statement to implement simple menu program

--【Source program】Example 4.4 converts centesimal score into the corresponding grade system score.

--4.2 Self test questions

-4.3 Examples of Selection Structural Programs

--4.3 Examples of Selection Structural Programs.mp4

--【Source program】 Example 4.5 determines whether a year is a leap year.

--【Source program】 Example 4.6 find the solution of quadratic equation of one variable.

--【Source program】Example 4.7 calculate the transportation cost for the user.

--4.3 Self test questions

-Chapter 4 Self test questions

Chapter 5 Loop Structure

-5.1 While and Do-While Statement

--5.1 While and Do…while statement.mp4

--Discussion unit

--【Source program】example 5.1 Use while statement to find 1 + 2 + 3 + +100

--【Source program】example 5.2 using do while statement to find 1 + 2 + 3 + +100

--5.1 Self test questions

-5.2 For Statement

--5.2 for statement.mp4

--【Source program】example 5.3 Use for loop to find 1 + 2 + 3 +100

--5.2 Self test questions

-5.3 Change the State of Loop Execution and Nested Loop

--5.3 Change the state of loop execution and nested loop .mp4

--【Source program】example 5.4 collecting charity donations

--【Source program】example 5.5 output a number between 100 and 200 that cannot be divided by 3.

--【Source program】multiplication table

--【Source program】example 5.6 Output the following 4*5 matrix.

--5.3 Self test questions

-5.4 Loop Structure Program example 1

--5.4 Loop structure program example 1.mp4

--【Source program】example 1

--【Source program】example 2

--【Source program】example 3

--【Source program】 Example 4

--5.4 Self test questions

-5.5 Loop Structure Program example 2

--5.5 Loop structure program example 2.mp4

--【Source program】example 5. Output the following figure.

--【Source program】example6. The problem of 100 chickens and 100 coins

--【Source program】example 7. Find the approximate value of PI

--5.5 Self test questions

-Chapter 5 Self test questions

Chapter 6 Batch Data Processing with Array

-6.1 Definition, Reference and Initialization of One-Dimensional Arrays

--6.1 Definition, Reference of One-Dimensional Arrays.mp4

--Discussion unit

--6.1 Self test questions

-6.2 One-Dimensional Array Programming

--6.2 One-Dimensional Array Programming.mp4

--【Source program】example 1. Fibonacci sequence

--【Source program】example 2. Find the maximum value and the minimum value.

--【Source program】example 3 exchanging array elements in reverse order.

--【Source program】example 4. Bubble sorting.

--6.2 Self test questions

-6.3 Definition, Reference and Initialization of Two-Dimensional Arrays

--6.3 Definition, Reference of Two-Dimensional Arrays.mp4

--6.3 Self test questions

-6.4 Two-Dimensional Array Programming

--6.4 Two-Dimensional Array Programming.mp4

--【Source program】example 1. Get the average score of each subject.

--【Source program】Example 2. The elements of row and column of a 2D array are interchanged

--6.4 Self test questions

-6.5 Definition, initialization and input and output of character arrays

--6.5 Definition, initialization and input and output of character arrays .mp4

--Discussion unit

--【Source program】Example 6.6 Output a known string.

--【Source program】Example 6.7 Output a diamond.

--【Source program】Example 6.10 Sorting of strings.

--6.5 Self test questions

-6.6 String Processing Function

--6.6 String Processing Function.mp4

--6.6 Self test questions

-6.7 Character Array Programming

--6.7 Character Array Programming.mp4

--6.7 Self test questions

-Chapter 6 Self test questions

Chapter 7 Modular Programming with Functions

-7.1 Function Concept and How to Define and Call Functions

--7.1 Function Concept and How to Define and Call Functions.mp4

--【Source program】Example 7.1

--7.1 Self test questions

-7.2 Data Transfer in Function Call, Call Procedure and Function Return Value

--7.2 Data Transfer in Function Call, Call Procedure and Function Return Value.mp4

--Discussion unit

--【Source program】Example 7.2

--7.2 Self test questions

-7.3 Declarations of called functions and nested calls to functions

--7.3 Declarations of called functions and nested calls to functions .mp4

--【Source program】Example 7.4 use a function to find the sum of t

--7.3 Self test questions

-7.4 Recursive call to function

--7.4 Recursive call to function.mp4

--【Source program】Example 7.6. How old is the fifth student?

--【Source program】Example 7.7 Use recursion method to find n!

--7.4 Self test questions

-7.5 Array as function parameter (1)

--7.5 Array as function parameter (1).mp4

--Discussion unit

--【Source program】Example 7.10

--7.5 Self test questions

-7.6 Array as function parameter (2)

--7.6 Array as function parameter (2).mp4

--【Source program】Selection sorting.

--【Source program】Example 7.13 find the maximum of a 3×4 matrix.

--7.6 Self test questions

-7.7 Local and global variables, internal and external functions

--7.7 Local and global variables, internal and external functions.mp4

--【Source program】Example 7.14

--7.7 Self test questions

-7.8 The Survival Period of Variables and the Storage Mode of Local Variables

--7.8 The Survival Period of Variables and the Storage Mode of Local Variables.mp4

--【Source program】Example 7.17

--7.8 Self test questions

-7.9 Storage Categories of Global Variables

--7.9 Storage Categories of Global Variables.mp4

--7.9 Self test questions

-Chapter 7 Self test questions

Chapter 8 Pointer

-8.1 Pointer Concept, Definition and Reference of Pointer Variables

--8.1 Pointer Concept, Definition and Reference of Pointer Variables.mp4

--【Source program】Example 8.1

--8.1 Self test questions

--Discussion unit

-8.2 Pointer variables as function parameters

--8.2 Pointer variables as function parameters.mp4

--Discussion unit

--【Source program】Example 8.3. Exchange two data with function call.

--8.2 Self test questions

-8.3 Pointer of array element, operation of pointer and reference of array element by pointer

--8.3 Pointer of array element, operation of pointer and reference of array element by pointer.mp4

--【Source program】Point to array elements with pointer variables.

--8.3 Self test questions

-8.4 Using Array Name as Function Parameter

--8.4 Using Array Name as Function Parameter.mp4

--【Source program】Store array elements in reverse order.

--8.4 Self test questions

-8.5 Reference to multidimensional arrays by pointers

--8.5 Reference to multidimensional arrays by pointers.mp4

--【Source program】Pointer variable pointing to one-dimensional array.

--8.5 Self test questions

-8.6 Referencing strings through pointers

--8.6 Referencing strings through pointers.mp4

--【Source program】Reference string by pointer.

--8.6 Self test questions

-8.7 Character pointer as function parameter

--8.7 Character pointer as function parameter.mp4

--【Source program】Character pointer as function parameter.

--8.7 Self test questions

-8.8 Pointer pointing to function

--8.8 Pointer pointing to function.mp4

--【Source program】Pointer variable pointing to the function.

--8.8 Self test questions

-8.9 Functions that return pointer values

--8.9 Functions that return pointer values.mp4

--【Source program】Intercept substring.

--8.9 Self test questions

-8.10 Pointer arrays and multiple pointers

--8.10 Pointer arrays and multiple pointers.mp4

--【Source program】Sorting of strings.

--8.10 Self test questions

-8.11 Dynamic memory allocation and pointer variables pointing to it

--8.11 Dynamic memory allocation and pointer variables pointing to it.mp4

--Discussion unit

--【Source program】Dynamic memory allocation.

--8.11 Self test questions

-Chapter 8 Self test questions

Chapter 9 Structure

-9.1 Define and use structural variables

--9.1 Define and use structural variables.mp4

--【Source program】Structure variable

--9.1 Self test questions

-9.2 Using structure arrays

--9.2 Using structure arrays.mp4

--Discussion unit

--【Source program】Structure array

--9.2 Self test questions

-9.3 Structure pointer

--9.3 Structure pointer.mp4

--【Source program】Structure pointer

--9.3 Self test questions

-Chapter 9 Self test questions

CodeBlocks Baidu online disk download

-CodeBlocks Baidu online disk download address

Final Exam

-Final Exam

--final exam

1.The development and characteristics of C language .mp4笔记与讨论

也许你还感兴趣的课程:

© 柠檬大学-慕课导航 课程版权归原始院校所有,
本网站仅通过互联网进行慕课课程索引,不提供在线课程学习和视频,请同学们点击报名到课程提供网站进行学习。