会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
zz0610
博客园
首页
新随笔
联系
订阅
管理
2023年6月1日
实验六
摘要: 4. #include <stdio.h>#include<string.h>#include <stdlib.h>#define N 100 typedef struct { char num[10]; int s1; int s2; double sum; char level[10]; } S
阅读全文
posted @ 2023-06-01 14:41 赵,洲
阅读(15)
评论(0)
推荐(0)
2023年5月11日
实验5
摘要: 1 #include <stdio.h> int main(){ int x[2][4]={{1,9,8,4},{2,0,4,9}}; int i,j; int *p; int (*q)[4]; for(i=0;i<2;++i) { for(j=0;j<4;++j) printf("%d",x[i]
阅读全文
posted @ 2023-05-11 12:50 赵,洲
阅读(28)
评论(0)
推荐(0)
2023年4月19日
实验四
摘要: 1. #include <stdio.h>#define N 4 int main() { int a[N] = {2, 0, 2, 3}; char b[N] = {'2', '0', '2', '3'}; int i; printf("sizeof(int) = %d\n", sizeof(in
阅读全文
posted @ 2023-04-19 23:11 赵,洲
阅读(16)
评论(0)
推荐(0)
2023年4月6日
实验三
摘要: 1, #include <time.h> #include <stdio.h> #include <stdlib.h> #include <windows.h> #define N 80 void print_text(int line,int col,char text[]); void prin
阅读全文
posted @ 2023-04-06 12:48 赵,洲
阅读(30)
评论(0)
推荐(0)
2023年3月22日
实验2
摘要: 1 #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( time(0) );
阅读全文
posted @ 2023-03-22 23:57 赵,洲
阅读(19)
评论(0)
推荐(0)
2023年3月9日
练习2
摘要: #include<stdio.h> #include<stdlib.h> int main() { int n,m,t=0; printf("输入正整数\n"); scanf("%d",&n); while(n!=0) { m=n%10; t=t*10+m; n=n/10; } printf("%d
阅读全文
posted @ 2023-03-09 21:08 赵,洲
阅读(20)
评论(0)
推荐(0)
2023年3月6日
作业
摘要: 1 #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"); return 0; } 2 #in
阅读全文
posted @ 2023-03-06 19:43 赵,洲
阅读(15)
评论(0)
推荐(0)
公告