会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
dwcr2004
博客园
首页
新随笔
联系
订阅
管理
2023年6月
实验7
摘要: 任务4 程序源码: #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> int main(){ char ch; FILE* fp; int i = 0; fp = fopen("data4.txt", "r"); ch = fgetc(fp); wh
阅读全文
posted @ 2023-06-13 14:46 达娃次仁
阅读(13)
评论(0)
推荐(0)
2023年5月
实验6
摘要: 任务4: 实验源码: #include <stdio.h> #include<string.h> #define N 100 typedef struct { char num[10]; int s1; int s2; double sum; char level[10]; } STU; int f
阅读全文
posted @ 2023-05-31 09:48 达娃次仁
阅读(16)
评论(0)
推荐(0)
实验5
摘要: 任务 1 1.1程序源码 #include <stdio.h> #include <stdlib.h> #define N 4 int main() { int x[N] = {1, 9, 8, 4}; int i; int *p; for (i = 0; i < N; ++i) printf("%
阅读全文
posted @ 2023-05-08 11:10 达娃次仁
阅读(23)
评论(0)
推荐(0)
2023年4月
实验四
摘要: 试验任务1 程序源码: #include <stdio.h> #include<stdlib.h> #define N 4 int main() { int a[N] = {2, 0, 2, 3}; char b[N] = {'2', '0', '2', '3'}; int i; printf("s
阅读全文
posted @ 2023-04-20 11:19 达娃次仁
阅读(16)
评论(0)
推荐(0)
实验3
摘要: task 1 程序源码: #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-04-05 23:06 达娃次仁
阅读(19)
评论(0)
推荐(0)
2023年3月
实验二
摘要: 试验任务一 程序源码 #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(ti
阅读全文
posted @ 2023-03-21 12:35 达娃次仁
阅读(27)
评论(0)
推荐(0)
实验1 C语言开发环境使用和编程初体验
摘要: 实验任务1 程序源码 // 打印一个字符小人 #include <stdio.h> int main() { printf(" O \n"); printf("<H>\n"); printf("I I\n"); printf(" O \n"); printf("<H>\n"); printf("I
阅读全文
posted @ 2023-03-08 11:51 达娃次仁
阅读(49)
评论(2)
推荐(0)
公告