Violet-

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2022年12月27日

摘要: #include <stdio.h> #include <stdlib.h> #include <time.h> #include <string.h> typedef struct { long int no; char name[20]; char clas[100]; } STU; int m 阅读全文
posted @ 2022-12-27 15:22 李旭晴 阅读(10) 评论(0) 推荐(0) 编辑

摘要: #include <stdio.h> #define N 5 // 定义结构体类型struct student, 并定义STU为其别名 typedef struct student { long no; char name[20]; int score; } STU; // 函数声明 void in 阅读全文
posted @ 2022-12-27 14:41 李旭晴 阅读(4) 评论(0) 推荐(0) 编辑

2022年11月29日

摘要: #include <stdio.h> #define N 13 int days_of_year(int year, int month, int day); int main() { int year, month, day; int days; while(scanf("%d%d%d", &ye 阅读全文
posted @ 2022-11-29 10:21 李旭晴 阅读(2) 评论(0) 推荐(0) 编辑

2022年11月8日

摘要: #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_space 阅读全文
posted @ 2022-11-08 09:55 李旭晴 阅读(94) 评论(0) 推荐(0) 编辑

2022年10月25日

摘要: #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=rand()%500+ 阅读全文
posted @ 2022-10-25 18:19 李旭晴 阅读(8) 评论(0) 推荐(0) 编辑

2022年10月18日

摘要: //测试你是哪一类学者 #include<stdio.h> int main() { int ans; char words[5000]; printf("网课学习让一些人喜一些人忧.\n"); printf("1. 作为喜欢自学且自律的人,觉得这样很好. 有网络,自主学习,很ok.\n"); pr 阅读全文
posted @ 2022-10-18 09:48 李旭晴 阅读(27) 评论(1) 推荐(0) 编辑