会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
yzby-
博客园
首页
新随笔
联系
订阅
管理
2024年6月22日
实验七
摘要: task4 1 #include<stdio.h> 2 int main() 3 { 4 int i,count=0; 5 int c; 6 FILE *fp; 7 fp=fopen("C://Users//Dell//Desktop//data4.txt","r"); 8 if(fp==NULL)
阅读全文
posted @ 2024-06-22 23:45 宇智波鼬》
阅读(15)
评论(0)
推荐(0)
2024年6月10日
实验六
摘要: task4 1 #include <stdio.h> 2 #define N 10 3 4 typedef struct { 5 char isbn[20]; // isbn号 6 char name[80]; // 书名 7 char author[80]; // 作者 8 double sale
阅读全文
posted @ 2024-06-10 12:20 宇智波鼬》
阅读(31)
评论(0)
推荐(0)
2024年5月25日
实验五
摘要: task1_1 1 #include <stdio.h> 2 #define N 5 3 4 void input(int x[], int n); 5 void output(int x[], int n); 6 void find_min_max(int x[], int n, int *pmi
阅读全文
posted @ 2024-05-25 21:04 宇智波鼬》
阅读(38)
评论(0)
推荐(0)
2024年5月20日
实验四
摘要: 1 #include <stdio.h> 2 #define N 4 3 4 void test1() { 5 int a[N] = {1, 9, 8, 4}; 6 int i; 7 8 // 输出数组a占用的内存字节数 9 printf("sizeof(a) = %d\n", sizeof(a))
阅读全文
posted @ 2024-05-20 08:53 宇智波鼬》
阅读(19)
评论(0)
推荐(0)
2024年4月28日
实验三
摘要: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 #include <windows.h> 5 #define N 80 6 7 void print_text(int line, int col, char text[
阅读全文
posted @ 2024-04-28 20:16 宇智波鼬》
阅读(29)
评论(0)
推荐(0)
2024年4月15日
实验二
摘要: 1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<time.h> 4 5 6 #define N 5 7 8 int main() 9 { 10 11 int number; 12 int i; 13 srand(time(0)); 14 15
阅读全文
posted @ 2024-04-15 12:32 宇智波鼬》
阅读(15)
评论(0)
推荐(0)
2024年3月14日
实验一c语言输入输出和简单程序应用编程
摘要: 1 #include<stdio.h> 2 int main() 3 { 4 5 6 printf(" o\n"); 7 printf("<H>\n"); 8 printf("I I\n"); 9 printf(" o\n"); 10 printf("<H>\n"); 11 printf("I I\
阅读全文
posted @ 2024-03-14 22:07 宇智波鼬》
阅读(33)
评论(0)
推荐(0)
公告