摘要:
判断计算机是大端还是小段存储 include <stdio.h> int CheckSys() { int a = 1; if((char)&a == 1)//对存在内存的数据进行访问就得取出该数据得地址这样才能在内存中找到该数据,强转为char*类型是因为要取出第一个字节的内容 { return 阅读全文
摘要:
test.c define _CRT_SECURE_NO_WARNINGS include "contact.h" void menu() { printf("\n"); printf("1.add 2.del \n"); printf("3.seach 4.modify \n"); printf( 阅读全文