摘要: #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <stdlib.h> #include <conio.h> #include <string.h> void fun(char *w, int m) { char s, *p1, 阅读全文
posted @ 2020-03-16 19:10 神迹丶 阅读(1885) 评论(0) 推荐(0) 编辑
摘要: //题目:若有程序段int a[5] = { 1, 2, 3, 4, 5 }; int *p = (int *)(&a + 1); printf("%d,%d", *(a + 1), *(p - 1)); 则输出的结果是(),()#define _CRT_SECURE_NO_WARNINGS #in 阅读全文
posted @ 2020-03-16 18:12 神迹丶 阅读(1959) 评论(0) 推荐(1) 编辑
摘要: #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> //编程题:往文件里写入字母表的26个字母。 //要求:如果字母对应编码值 是奇数则写入大写 是偶数则写入小写字母。 int main() { FILE* fp = fopen("C:/123.tx 阅读全文
posted @ 2020-03-16 14:03 神迹丶 阅读(3038) 评论(0) 推荐(0) 编辑
摘要: #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> struct Student { char name[50];// 姓名 int id; //id int age; //年龄 char ch; //编组 double fenshu;//分数 }; 阅读全文
posted @ 2020-03-16 13:20 神迹丶 阅读(484) 评论(0) 推荐(0) 编辑
摘要: #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include <math.h> #include <easyx.h> #include <graphics.h> typedef struct T_circle { int x; //x轴坐标 i 阅读全文
posted @ 2020-03-16 12:45 神迹丶 阅读(781) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <easyx.h> #include <graphics.h> void huayuan() { BeginBatchDraw(); cleardevice();//把之前的画板清楚 // setlinestyle(PS_SOLID,5); / 阅读全文
posted @ 2020-03-16 10:28 神迹丶 阅读(8382) 评论(0) 推荐(0) 编辑
网站已运行: