| C language I work 07

C language I work 07

Tags: 18 Software Li Xu Liang

1.PTA lab assignments

1.1 7-13 classification process integers
1.1.1 Data Processing
1.1.2 Screenshot experiment code
1.1.3 build test data
1.1.4 PTA submit a list and description
1.2 Question 2
1.2.1 Data Processing
1.2.2 Code Screenshot
1.2.3 build test data
1.2.4 PTA submit a list and description

2. Code peer assessment

Screenshot students Code
Own Code Screenshot

3. learning summary

3.1 learning progress bar
3.2 Cumulative lines of code words and blog
3.3 Summary and perception of learning content
3.3.1 learning content summary

#include<string.h>

C language standard library in a common header file is required when using the array of characters. string .h header file defines the type of a variable, a function macro array of characters and a variety of operations. References: https://baike.baidu.com/item/string.h/4262091?fr=aladdin

理解:
字符数组,作用,存放字符或字符串,在7-13中存在a[i]字符运算类型
而string和math.h的应用是类似的,math.h是主函数中出现了调用数学函数,所以在头文件中插入#include<math.h>

a[i],a[100]

float a [100]; denotes a defined size float (float) 100 array.

I.e. decimal floating-point, a [100] can be stored is 100 decimal.
a [0] is a number of them, a [i] is any of a number of 0-100, it can be inferred that a [i] a number of arbitrary receiving 0-100

3.3.2 Learning Experience

Guess you like

Origin www.cnblogs.com/spacexlxl/p/11823534.html