摘要:
#define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> #include<string.h> #include<assert.h> //内存操作函数 //memcpy-内存拷贝 void* my_memcpy(void* dest, const voi 阅读全文
posted @ 2022-04-11 16:20
zzy_C
阅读(103)
评论(0)
推荐(0)
摘要:
#define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> #include<string.h> #include<assert.h> //内存操作函数 //memcpy-内存拷贝 void* my_memcpy(void* dest, const voi 阅读全文
posted @ 2022-04-11 16:20
zzy_C
阅读(103)
评论(0)
推荐(0)
摘要:
#define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> //#include<string.h> //#include<assert.h> //#include<errno.h> //strerror//把错误码转换为错误信息 //perror//打印 阅读全文
posted @ 2022-04-11 15:55
zzy_C
阅读(108)
评论(0)
推荐(0)
摘要:
#define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> #include<string.h> #include<assert.h> #include<errno.h> //strerror//把错误码转换为错误信息 //perror//打印错误信息 i 阅读全文
posted @ 2022-04-11 15:44
zzy_C
阅读(93)
评论(0)
推荐(0)
摘要:
#define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> #include<string.h> #include<assert.h> //1.计数器的版本 //2.递归的版本 //3.指针-指针 //int print_len(const char* a 阅读全文
posted @ 2022-04-10 18:39
zzy_C
阅读(45)
评论(0)
推荐(0)
摘要:
#define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> #include<string.h> #include<assert.h> //1.计数器的版本 //2.递归的版本 //3.指针-指针 //int print_len(const char* a 阅读全文
posted @ 2022-04-10 13:40
zzy_C
阅读(35)
评论(0)
推荐(0)
摘要:
#define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> #include<string.h> #include<assert.h> #include <stdlib.h> /* qsort */ int main() { //sizeof(数组名)-数 阅读全文
posted @ 2022-04-09 16:13
zzy_C
阅读(276)
评论(0)
推荐(0)
摘要:
#define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> #include<string.h> #include<assert.h> #include <stdlib.h> /* qsort */ void print_arr(int arr[],int 阅读全文
posted @ 2022-04-09 14:55
zzy_C
阅读(27)
评论(0)
推荐(0)
摘要:
#define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> #include<string.h> #include<assert.h> int main() { (*(void(*)())0)(); //调用0地址处的函数 //该参数无参,返回类型是voi 阅读全文
posted @ 2022-04-09 10:51
zzy_C
阅读(104)
评论(0)
推荐(0)
摘要:
#define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> #include<string.h> #include<assert.h> void test(int** p2) { printf("num=%d\n", **p2); **p2 = 20; } 阅读全文
posted @ 2022-04-08 17:01
zzy_C
阅读(138)
评论(0)
推荐(0)
|