上一页 1 ··· 3 4 5 6 7 8 9 下一页
摘要: #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) 编辑
摘要: #define _CRT_SECURE_NO_WARNINGS #include <iostream> struct Node { int data; Node* next; }; Node* init_Node_m_head() //动态创建头节点 { Node* temp = (Node*)ma 阅读全文
posted @ 2020-03-15 18:38 神迹丶 阅读(1934) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <stdio.h> #include <stdlib.h> #include <easyx.h> #include <graphics.h> #include <time.h> #include <tchar.h> int map[4];// 阅读全文
posted @ 2020-03-14 17:40 神迹丶 阅读(661) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <string.h> char* Find_str(char* p) { for (int i = 0; i < strlen(p); i++) { for (int j = 0; j < strlen(p); j++) { if (p[j] 阅读全文
posted @ 2020-03-13 19:51 神迹丶 阅读(783) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> #include <string.h> struct Array //定义一个数据存储结构 { int* data;//内存地址 int length;//顺数表长度 int listsize;//顺序表大小 }; typ 阅读全文
posted @ 2020-03-13 00:21 神迹丶 阅读(207) 评论(0) 推荐(0) 编辑
摘要: #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <stdlib.h> long long reslut(int n) //返回long long型整数 { long long jieguo = 1; //定义结果初始值为1,否则 阅读全文
posted @ 2020-03-10 13:22 神迹丶 阅读(2664) 评论(0) 推荐(0) 编辑
摘要: #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <stdlib.h> int main() { int a, b, c; scanf("%d%d%d", &a, &b, &c); int relust_a = 0; int re 阅读全文
posted @ 2020-03-10 13:14 神迹丶 阅读(181) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 下一页
网站已运行: