会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
iamqy
博客园
首页
新随笔
联系
订阅
管理
2023年12月17日
实验7
摘要: test4 代码 #include<stdio.h> #define N 2 int main(){ char *x[N]={"0123456789-0123456789", "nuist2023 - nuist2024" }; int i; FILE *fp; fp=fopen("data4.tx
阅读全文
posted @ 2023-12-17 16:07 共作春风
阅读(38)
评论(0)
推荐(0)
2023年12月11日
实验6
摘要: test4 代码 #include <stdio.h> #define N 10 typedef struct { char isbn[20]; // isbn号 char name[80]; // 书名 char author[80]; // 作者 double sales_price; // 售
阅读全文
posted @ 2023-12-11 20:49 共作春风
阅读(15)
评论(0)
推荐(0)
2023年11月27日
实验五
摘要: test1.1 代码 #include <stdio.h> #define N 5 void input(int x[], int n); void output(int x[], int n); void find_min_max(int x[], int n, int *pmin, int *p
阅读全文
posted @ 2023-11-27 21:08 共作春风
阅读(22)
评论(0)
推荐(0)
2023年11月17日
实验4
摘要: test1.1 代码 #include <stdio.h> #define N 4 void test1() { int a[N] = {1, 9, 8, 4}; int i; // 输出数组a占用的内存字节数 printf("sizeof(a) = %d\n", sizeof(a)); // 输出
阅读全文
posted @ 2023-11-17 21:37 共作春风
阅读(17)
评论(0)
推荐(0)
2023年10月31日
实验三
摘要: tesk1 代码 #include<time.h> #include<windows.h> #define N 80 void print_text(int line,int col,char text[]); void print_spaces(int n); void print_blank_l
阅读全文
posted @ 2023-10-31 14:01 共作春风
阅读(34)
评论(0)
推荐(0)
2023年10月16日
实验2
摘要: 任务1 代码 #include<stdio.h> #include<stdlib.h> #include<time.h> #define N 5 #define N1 374 #define N2 465 int main() { int number; int i; srand(time(0));
阅读全文
posted @ 2023-10-16 21:29 共作春风
阅读(26)
评论(0)
推荐(0)
2023年9月30日
实验1 C语言开发环境使用和数据类型.运算符.表达式
摘要: task1.c 代码 #include<stdio.h> int main() { printf(" O\n"); printf("<H>\n"); printf("I I\n"); return 0; } 运行结果 task1_2.c 代码 #include<stdio.h> int main()
阅读全文
posted @ 2023-09-30 11:31 共作春风
阅读(25)
评论(0)
推荐(0)
公告