上一页 1 ··· 23 24 25 26 27
摘要: 在《C和指针》上面看到“解引用”这个名词,就好奇的去查了查。 例: 1 #include <stdio.h> 2 #include <stdlib.h> 3 4 int main(void) 5 { 6 int a=10; 7 int *p=&a; 8 *p=5;//这就是一个解引用 9 syste 阅读全文
posted @ 2018-01-06 12:07 Hk_Mayfly 阅读(7041) 评论(0) 推荐(4) 编辑
摘要: 在原版上进行改进,主要改进的功能有。 1.利用atof:将字符串转换为浮点型; 利用atoi:将字符串转换为整型; 原文地址:http://www.cnblogs.com/sddai/p/5774121.html 3.将结构体改变了,可能因为编码原因,只能char型输入,还好有ASCII码 4.将输 阅读全文
posted @ 2018-01-04 20:46 Hk_Mayfly 阅读(602) 评论(0) 推荐(0) 编辑
摘要: /*系统特色:(大牛勿笑) *颜色提示 *文字提示 *功能 */ 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <math.h> 4 #include <string.h> 5 #include <windows.h> 6 #includ 阅读全文
posted @ 2018-01-04 20:44 Hk_Mayfly 阅读(459) 评论(0) 推荐(0) 编辑
上一页 1 ··· 23 24 25 26 27