会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
0253yyf
博客园
首页
新随笔
联系
订阅
管理
2022年12月27日
实验6
摘要: #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> int main() { char ch; FILE* fp; fp = fopen("C:\\Users\\86138\\Desktop\\hello.txt", "r"); if (fp == N
阅读全文
posted @ 2022-12-27 15:18 杨一帆2022
阅读(63)
评论(0)
推荐(0)
2022年12月21日
实验五
摘要: #include <stdio.h> #include<string.h> #include<stdlib.h> #define N 100 typedef struct { char num[10]; // 学号 int s1; // 期末成绩 int s2; // 平时成绩 double sum
阅读全文
posted @ 2022-12-21 15:34 杨一帆2022
阅读(75)
评论(0)
推荐(0)
2022年11月28日
实验4
摘要: #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #define N 4 int main() { int a[N] = { 1, 9, 8, 4 }; char b[N] = { '1', '9', '8', '4' }; int i; prin
阅读全文
posted @ 2022-11-28 23:58 杨一帆2022
阅读(10)
评论(0)
推荐(0)
2022年11月6日
实验三
摘要: #include <stdio.h> #include <stdlib.h> #include <time.h> #include <windows.h> #define N 80 void print_text(int line, int col, char text[]); void print
阅读全文
posted @ 2022-11-06 16:40 杨一帆2022
阅读(71)
评论(0)
推荐(0)
2022年10月25日
实验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 < N; ++i) { number = r
阅读全文
posted @ 2022-10-25 21:55 杨一帆2022
阅读(74)
评论(0)
推荐(0)
2022年10月15日
yyf
摘要: #include<stdio.h> int main() { printf(" 0\n"); printf("<H>\n"); printf("I I\n"); return 0; } #include<stdio.h> int main() { printf(" 0 0\n"); printf("
阅读全文
posted @ 2022-10-15 23:52 杨一帆2022
阅读(338)
评论(0)
推荐(0)
公告