2023年6月14日
摘要: Task4 <实验结论> #include<stdio.h> int main() { char s[100]; FILE *fp; int i = 0,j,k = 0; char ch; fp = fopen("data4.txt","rb"); if(fp == NULL) { printf(" 阅读全文
posted @ 2023-06-14 15:30 负熵宝子 阅读(3) 评论(0) 推荐(0) 编辑
  2023年5月29日
摘要: Tas4 <实验结论> #include <stdio.h> #include <stdlib.h> #include<string.h> #define N 100 typedef struct { char num[10]; // 学号 int s1; // 期末成绩 int s2; // 平时 阅读全文
posted @ 2023-05-29 23:43 负熵宝子 阅读(2) 评论(0) 推荐(0) 编辑
  2023年5月10日
摘要: Task1 <实验结论> task1_1 #include <stdio.h> #include <stdlib.h> #define N 4 int main() { int x[N] = {1, 9, 8, 4}; int i;int *p; // 方式1:通过数组名和下标遍历输出数组元素 fo 阅读全文
posted @ 2023-05-10 23:44 负熵宝子 阅读(1) 评论(0) 推荐(0) 编辑
  2023年4月15日
摘要: Task1 <实验结论> task1-1 #include <stdio.h> #define N 4 int main() { int a[N] = {2, 0, 2, 3}; char b[N] = {'2', '0', '2', '3'}; int i; printf("sizeof(int) 阅读全文
posted @ 2023-04-15 23:59 负熵宝子 阅读(13) 评论(0) 推荐(0) 编辑
  2023年3月31日
摘要: Task1 <实验结论> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <windows.h> #define N 80 void print_text(int line, int col, char text[] 阅读全文
posted @ 2023-03-31 22:23 负熵宝子 阅读(11) 评论(0) 推荐(0) 编辑
  2023年3月23日
摘要: Task1 <实验结论> #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 #define R1 586 #define R2 701 int main() { int number; int i; srand( 阅读全文
posted @ 2023-03-23 07:38 负熵宝子 阅读(7) 评论(0) 推荐(0) 编辑
  2023年3月5日
摘要: https://www.cnblogs.com/550w/ 阅读全文
posted @ 2023-03-05 17:18 负熵宝子 阅读(7) 评论(0) 推荐(0) 编辑
  2023年3月2日
摘要: Task1 <实验结论> #include <stdio.h> #include <stdlib.h> int main() { printf(" O \n"); printf("<H>\n"); printf("I I\n"); printf(" O \n"); printf("<H>\n"); 阅读全文
posted @ 2023-03-02 16:54 负熵宝子 阅读(14) 评论(0) 推荐(0) 编辑