会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
shenyuhao
博客园
首页
新随笔
联系
订阅
管理
2022年12月21日
实验5
摘要: test3 #include <stdio.h> #include<string.h> #include<stdlib.h> #define N 100 typedef struct { char num[10]; // 学号 int s1; // 期末成绩 int s2; // 平时成绩 doub
阅读全文
posted @ 2022-12-21 19:45 沈玉浩
阅读(32)
评论(0)
推荐(0)
2022年11月23日
实验4
摘要: test1.1 #include <stdio.h> #define N 4 int main() { int a[N] = { 1, 9, 8, 4 }; char b[N] = { '1', '9', '8', '4' }; int i; printf("sizeof(int) = %d\n",
阅读全文
posted @ 2022-11-23 15:26 沈玉浩
阅读(24)
评论(0)
推荐(0)
2022年11月3日
实验三
摘要: #include <stdio.h> #include <stdlib.h> #include <time.h> #include <windows.h> #define N 80 void print_text(int line, int col, char text[]); // 函数声明 vo
阅读全文
posted @ 2022-11-03 14:40 沈玉浩
阅读(62)
评论(0)
推荐(0)
2022年10月20日
实验二
摘要: task1 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 int main() { int number; int i; srand( time(0) ); // 以当前系统时间作为随机种子 for(i =
阅读全文
posted @ 2022-10-20 11:11 沈玉浩
阅读(42)
评论(0)
推荐(0)
2022年10月13日
实验一
摘要: #include<stdio.h> #include<stdlib.h> int main() { printf_s(" 0\n"); printf_s("<H>\n"); printf_s("I I\n\n"); printf_s(" 0\n"); printf_s("<H>\n"); print
阅读全文
posted @ 2022-10-13 09:54 沈玉浩
阅读(27)
评论(0)
推荐(0)
公告