摘要: 1 #define _CRT_SECURE_NO_WARNINGS 2 #include<stdio.h> 3 #include<stdlib.h> 4 #include<string.h> 5 6 typedef unsigned char BYTE; 7 typedef unsigned sho 阅读全文
posted @ 2021-03-12 19:59 Yanmo 阅读(185) 评论(0) 推荐(0)
摘要: # define _CRT_SECURE_NO_WARNINGS # include <stdio.h> # include <stdlib.h> # include <string.h> typedef unsigned char BYTE; typedef unsigned short WORD 阅读全文
posted @ 2021-03-11 10:14 Yanmo 阅读(404) 评论(0) 推荐(0)
摘要: int ar[5]={1,2,3,4,5}; int (*p)[3]=&ar; printf("%d\n%d\n",p,*p);//结果为5240728,5240728 printf("%d\n%d",p+1,*p+1);//结果为5240740,5240732 为什么结果会是这样呢 p为数组指针, 阅读全文
posted @ 2021-03-07 22:29 Yanmo 阅读(58) 评论(0) 推荐(0)
摘要: switch语句反汇编的几种形式 0x00 当case后面的常量较少时: switch (x) { case 1: printf("1"); break; case 2: printf("2"); break; case 3: printf("3"); break; default: printf( 阅读全文
posted @ 2021-03-05 15:52 Yanmo 阅读(205) 评论(0) 推荐(0)