会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
sc050618
博客园
首页
新随笔
联系
订阅
管理
2023年12月19日
实验7
摘要: 4 #include <stdio.h> #include <string.h> #define N 5 #define M 80 int main() { char songs[N][M]; FILE* fp; fp = fopen("data1.txt", "r"); if (fp == NUL
阅读全文
posted @ 2023-12-19 18:09 二硫化碳
阅读(47)
评论(0)
推荐(0)
2023年12月16日
实验六
摘要: 4. #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> #define N 10 typedef struct { char isbn[20]; char name[80]; char author[80]; d
阅读全文
posted @ 2023-12-16 21:14 二硫化碳
阅读(42)
评论(0)
推荐(0)
2023年12月3日
实验五
摘要: 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 *pmax);
阅读全文
posted @ 2023-12-03 13:56 二硫化碳
阅读(27)
评论(0)
推荐(0)
2023年11月19日
实验四c语言数组应用
摘要: 1.实验一 #include<stdio.h> #define N 4 void test1() { int a[N] = {1,9,8,4}; int i; printf("sizeof(a) = %d\n",sizeof(a)); for(i = 0;i < N;++i){ printf("%p
阅读全文
posted @ 2023-11-19 16:15 二硫化碳
阅读(42)
评论(0)
推荐(0)
2023年11月4日
实验3 C语言函数应用编程
摘要: 1.试验任务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-11-04 11:02 二硫化碳
阅读(29)
评论(0)
推荐(0)
2023年10月22日
实验二 C语言分支与循环基础应用编程
摘要: #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) ); for(
阅读全文
posted @ 2023-10-22 18:04 二硫化碳
阅读(27)
评论(0)
推荐(0)
2023年10月7日
实验1 C语言开发环境使用和数据类型、运算符、表达式
摘要: //打印一个字符小人 #include <stdio.h> int main() { printf(" o \n"); printf("<H>\n"); printf("I I\n"); printf(" o \n"); printf("<H>\n"); printf("I I\n"); retur
阅读全文
posted @ 2023-10-07 11:27 二硫化碳
阅读(25)
评论(0)
推荐(0)
公告