会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
TangZhiXuan
博客园
首页
新随笔
联系
订阅
管理
2023年12月18日
实验七
摘要: 4.实验4 1 #include<stdio.h> 2 #include<string.h> 3 #include <string.h> 4 #define M 999 5 int main(){ 6 char x[M]; 7 FILE *fp; 8 int len,t=0,a=0; 9 if((f
阅读全文
posted @ 2023-12-18 16:48 If-You
阅读(24)
评论(0)
推荐(0)
2023年12月11日
实验六 C语言结构体、枚举应用
摘要: 4.任务4 1 #include <stdio.h> 2 #define N 10 3 4 typedef struct { 5 char isbn[20]; 6 char name[80]; 7 char author[80]; 8 double sales_price; 9 int sales_
阅读全文
posted @ 2023-12-11 17:27 If-You
阅读(59)
评论(0)
推荐(0)
2023年11月27日
实验五
摘要: 1.c 1-1.c 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 *p
阅读全文
posted @ 2023-11-27 19:19 If-You
阅读(16)
评论(0)
推荐(0)
2023年11月14日
实验四 C语言数组应用编程
摘要: 1.任务1 1-1.c 1 #include <stdio.h> 2 #define N 4 3 4 void test1() { 5 int a[N] = {1, 9, 8, 4}; 6 int i; 7 printf("sizeof(a) = %d\n", sizeof(a)); 8 for (
阅读全文
posted @ 2023-11-14 10:42 If-You
阅读(47)
评论(0)
推荐(0)
2023年10月30日
实验三 C语言函数应用编程
摘要: 1.实验1 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 @ 2023-10-30 20:57 If-You
阅读(34)
评论(0)
推荐(0)
2023年10月16日
实验2 C语言分支与循环基础应用编程
摘要: 1.实验1 1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<time.h> 4 5 #define N 5 6 #define N1 374 7 #define N2 465 8 9 int main() 10 { 11 int number;
阅读全文
posted @ 2023-10-16 21:05 If-You
阅读(20)
评论(0)
推荐(0)
2023年10月6日
实验1 C语言输入输出和简单程序编写
摘要: 1. 实验任务1 1.c 1 #include <stdio.h> 2 3 int main () 4 { 5 printf(" o \n"); 6 printf("<H>\n"); 7 printf("I I\n"); 8 9 return 0; 10 } 1-1.c 1 #include <st
阅读全文
posted @ 2023-10-06 10:53 If-You
阅读(156)
评论(0)
推荐(0)
公告