摘要: #define CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<string.h>#include<stdlib.h>#include<math.h>#include<time.h> //未初始化全局变量 int a1; //初始化全局变量 int b 阅读全文
posted @ 2020-09-07 20:03 wh19991213 阅读(108) 评论(0) 推荐(0) 编辑
摘要: //全局函数 //第一文件 #define CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<string.h>#include<stdlib.h>#include<math.h>#include<time.h> 第二个文件 extern void Bu 阅读全文
posted @ 2020-09-07 19:04 wh19991213 阅读(511) 评论(0) 推荐(0) 编辑
摘要: #define CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<string.h>#include<stdlib.h>#include<math.h>#include<time.h> 静态局部变量 void fun01() { //静态局部变量只会初始 阅读全文
posted @ 2020-09-07 18:43 wh19991213 阅读(339) 评论(0) 推荐(0) 编辑
摘要: #define CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<string.h>#include<stdlib.h>#include<math.h>#include<time.h> //局部变量 //形参也是局部变量 void fun01(int a 阅读全文
posted @ 2020-09-07 18:17 wh19991213 阅读(107) 评论(0) 推荐(0) 编辑