会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
zxyyyy
博客园
首页
新随笔
联系
订阅
管理
2024年6月23日
实验7
摘要: #include<stdio.h> int main() { int cnt=0; char ch; FILE *fp; fp=fopen("data4.txt","r"); if(fp==NULL) { printf("fail to open file\n"); return 0; } whil
阅读全文
posted @ 2024-06-23 22:32 朱笑雨
阅读(15)
评论(0)
推荐(0)
2024年5月27日
实验5
摘要: task1_1#include <stdio.h> #include <string.h void sort(char *name[], int n); int main() { char *course[4] = {"C Program", "C++ Object Oriented Program
阅读全文
posted @ 2024-05-27 08:55 朱笑雨
阅读(15)
评论(0)
推荐(0)
2024年5月19日
实验4
摘要: #include <stdio.h> #define N 4 void test1() { int a[N] = {1, 9, 8, 4}; int i; // 输出数组a占用的内存字节数 printf("sizeof(a) = %d\n", sizeof(a)); // 输出int类型数组a中每个
阅读全文
posted @ 2024-05-19 22:48 朱笑雨
阅读(10)
评论(0)
推荐(0)
2024年4月28日
实验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 @ 2024-04-28 22:38 朱笑雨
阅读(18)
评论(0)
推荐(0)
2024年4月14日
实验2
摘要: #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 int main() { int number; int i; srand( time(0) ); // 以当前系统时间作为随机种子 for(i = 0; i <
阅读全文
posted @ 2024-04-14 22:11 朱笑雨
阅读(12)
评论(0)
推荐(0)
2024年3月13日
实验1朱笑雨202383310038
摘要: #include<stdio.h> #include<stdlib.h> int main() { printf(" 0\n"); printf("<H>\n"); printf("I I\n"); system("pause"); return 0; } #include<stdio.h> #in
阅读全文
posted @ 2024-03-13 21:36 朱笑雨
阅读(21)
评论(0)
推荐(0)
公告