• 博客园logo
  • 会员
  • 周边
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

jy1220

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

2022年12月24日

实验6

摘要: #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <stdlib.h> int main() { int count = 0; FILE* fp; fp = fopen("C:\\Users\\yuyee\\Desktop\\程序 阅读全文

posted @ 2022-12-24 18:39 沉月眠眠 阅读(20) 评论(0) 推荐(0)

2022年12月21日

实验5

摘要: #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 12:31 沉月眠眠 阅读(16) 评论(0) 推荐(0)

2022年11月23日

实验4

摘要: #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",sizeof(int)); printf("si 阅读全文

posted @ 2022-11-23 21:53 沉月眠眠 阅读(8) 评论(0) 推荐(0)

2022年11月6日

实验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[]); void print_spac 阅读全文

posted @ 2022-11-06 16:47 沉月眠眠 阅读(23) 评论(0) 推荐(0)

2022年10月23日

实验2

摘要: #include<stdlib.h> #include<time.h> #include<stdio.h> #define N 5 int main() { int number; int i; srand(time(0)); for(i=0;i<N;++i) { number=rand()%500 阅读全文

posted @ 2022-10-23 12:04 沉月眠眠 阅读(3) 评论(0) 推荐(0)

2022年10月13日

实验1

摘要: #include<stdio.h> int main() { char ans1, ans2; printf("每次课前认真预习、课后及时复习了没?(输入Y或y表示有,输入n或N表示没有):"); ans1 = getchar(); getchar(); printf("\n动手敲代码了没?(输入Y 阅读全文

posted @ 2022-10-13 22:02 沉月眠眠 阅读(35) 评论(0) 推荐(0)

 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3