会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
nuyoah720
博客园
首页
新随笔
联系
订阅
管理
2023年6月14日
实验七
摘要: test4 代码: #include<stdio.h>#include<stdlib.h> int main(){ int num=0; char ch; FILE *fp; fp=fopen("data4.txt","r"); if(fp==NULL) {printf("fail\n"); ret
阅读全文
posted @ 2023-06-14 10:36 Nuyoah720
阅读(25)
评论(0)
推荐(0)
2023年5月30日
实验六
摘要: test1 代码 #include <stdio.h>#include <string.h> #include<stdlib.h>#define N 10 // 运行程序输入测试时,可以把这个数组改小一些输入测试 typedef struct student { int id; // 学号 char
阅读全文
posted @ 2023-05-30 23:19 Nuyoah720
阅读(11)
评论(0)
推荐(0)
2023年5月6日
实验五
摘要: test 1 (1)代码 #include <stdio.h>#include <stdlib.h>#define N 4int main(){int x[N] = {1, 9, 8, 4};int i;int *p;// 方式1:通过数组名和下标遍历输出数组元素for (i = 0; i < N;
阅读全文
posted @ 2023-05-06 00:04 Nuyoah720
阅读(44)
评论(0)
推荐(0)
2023年4月19日
实验四
摘要: 实验1.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) = %d\n", si
阅读全文
posted @ 2023-04-19 22:04 Nuyoah720
阅读(33)
评论(0)
推荐(0)
2023年4月5日
实验三
摘要: test1 代码 #include <stdio.h>#include <stdlib.h>#include <time.h>#include <windows.h>#define N 80void print_text(int line, int col, char text[]); void p
阅读全文
posted @ 2023-04-05 22:28 Nuyoah720
阅读(25)
评论(0)
推荐(0)
2023年3月20日
实验2
摘要: 实验任务1 代码: #include<stdio.h> #include<stdlib.h>#include<time.h> #define N 5#define R1 586#define R2 701int main(){ int number; int i; srand (time(0));
阅读全文
posted @ 2023-03-20 22:22 Nuyoah720
阅读(46)
评论(0)
推荐(0)
2023年3月4日
实验1
摘要: TEST 1 实验代码 #include<stdio.h>int main(){ printf(" O O \n"); printf("<H> <H>\n"); printf("I I I I\n"); getchar(); return 0;} #include<stdio.h>int main(
阅读全文
posted @ 2023-03-04 10:36 Nuyoah720
阅读(19)
评论(0)
推荐(0)
公告