会员
周边
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
jiang4533
博客园
首页
新随笔
联系
订阅
管理
2023年6月8日
实验七
摘要: 4 #include<stdio.h> #include<stdlib.h> int main(int argc,char *argv[]) {char ch; int count=0; FILE *fp; fp = fopen("data4.txt", "r"); if (fp == NULL)
阅读全文
posted @ 2023-06-08 20:41 楼璟
阅读(7)
评论(0)
推荐(0)
编辑
2023年5月5日
实验五
摘要: 1.1 #include <stdio.h> #include <stdlib.h> #define N 4 int main(){ int x[N]={1, 9, 8, 4}; int i; int *p; //方式1:通过数组名和下标遍历输出数组元素 for (i = 0; i < N;++i)
阅读全文
posted @ 2023-05-05 21:43 楼璟
阅读(8)
评论(0)
推荐(0)
编辑
2023年4月19日
实验四
摘要: 任务1 #include <stdio.h> #include <stdlib.h> #define N 4 int main() { int a[N]={2, 0, 2, 3}; char b[N]={'2','O','2','3'}; int i; printf("sizeof(int)= %d
阅读全文
posted @ 2023-04-19 23:07 楼璟
阅读(6)
评论(0)
推荐(0)
编辑
2023年4月5日
实验三
摘要: 任务一 #include <stdio.h> #include <stdlib.h> #include <time.h> #include <windows.h> #define N 80 void print_spaces(int n); void print_text(int line,int
阅读全文
posted @ 2023-04-05 23:55 楼璟
阅读(10)
评论(0)
推荐(0)
编辑
2023年3月17日
实验2
摘要: 任务一 #include <stdio.h> #include <math.h> #include <stdlib.h> int main() { double x,ans; while(scanf("%if",&x)!=EOF) { printf("202283300%04d\n",number)
阅读全文
posted @ 2023-03-17 23:08 楼璟
阅读(14)
评论(0)
推荐(0)
编辑
2023年3月3日
实验一
摘要: 任务一#include <stdlib.h> #include <stdio.h> int main() { printf(" 0"" 0\n"); printf("<H>""<H>\n"); printf("I I""I I\n"); system("pause"); return 0; } #i
阅读全文
posted @ 2023-03-03 23:34 楼璟
阅读(17)
评论(0)
推荐(0)
编辑