摘要: #define _CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<string.h>#include<stdlib.h>#include<math.h>#include<time.h> //目标字符串dest查找原字符串src char* my_str 阅读全文
posted @ 2020-08-28 20:10 wh19991213 阅读(827) 评论(0) 推荐(0) 编辑
摘要: #define _CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<string.h>#include<stdlib.h>#include<math.h>#include<time.h> char* my_strchr01(char*str,char*c 阅读全文
posted @ 2020-08-27 20:32 wh19991213 阅读(271) 评论(0) 推荐(0) 编辑
摘要: #define _CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<string.h>#include<stdlib.h>#include<math.h>#include<time.h> void my_strcat01(char*ch1,char*ch 阅读全文
posted @ 2020-08-27 09:02 wh19991213 阅读(132) 评论(0) 推荐(0) 编辑
摘要: #define _CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<string.h>#include<stdlib.h>#include<math.h>#include<time.h> //值传递:形参不影响实参的值(使用变量、常量、数组元素作为函数参 阅读全文
posted @ 2020-08-27 08:35 wh19991213 阅读(127) 评论(0) 推荐(0) 编辑
摘要: #define _CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<string.h>#include<stdlib.h>#include<math.h>#include<time.h> int main01() { int a[]={1,2,3}; i 阅读全文
posted @ 2020-08-26 07:49 wh19991213 阅读(83) 评论(0) 推荐(0) 编辑
摘要: #define _CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<string.h>#include<stdlib.h>#include<math.h>#include<time.h> int main01() { int a=10; int b=20 阅读全文
posted @ 2020-08-24 12:04 wh19991213 阅读(64) 评论(0) 推荐(0) 编辑
摘要: #define _CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<string.h>#include<stdlib.h>#include<math.h>#include<time.h> //数组 void my_strcpy01(char*dest,c 阅读全文
posted @ 2020-08-23 20:38 wh19991213 阅读(111) 评论(0) 推荐(0) 编辑
摘要: #define _CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<string.h>#include<stdlib.h>#include<math.h>#include<time.h> int main01() { //数组名是一个常量,不允许被赋值; 阅读全文
posted @ 2020-08-22 21:24 wh19991213 阅读(99) 评论(0) 推荐(0) 编辑
摘要: #define _CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<string.h>#include<stdlib.h>#include<math.h>#include<time.h> int main01() { //常量 const int a=1 阅读全文
posted @ 2020-08-22 17:15 wh19991213 阅读(345) 评论(0) 推荐(0) 编辑
摘要: #define _CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<string.h>#include<stdlib.h>#include<math.h>#include<time.h> int main() { //万能指针可以接收任意类型变量的内存地 阅读全文
posted @ 2020-08-22 16:19 wh19991213 阅读(175) 评论(0) 推荐(0) 编辑