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

2023年12月16日

实验七
摘要: #define _CRT_SECURE_NO_WARNINGS #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> #include<time.h> #define N 100 typedef struct { l 阅读全文
posted @ 2023-12-16 21:29 粟凝17 阅读(14) 评论(0) 推荐(0)
 
 

2023年12月11日

实验6
摘要: task4 #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #define N 10 typedef struct { char isbn[20]; // isbn号 char name[80]; // 书名 char author[80]; / 阅读全文
posted @ 2023-12-11 19:02 粟凝17 阅读(11) 评论(1) 推荐(0)
 
 

2023年11月27日

实验五
摘要: task1.1 #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #define N 5 void input(int x[], int n); void output(int x[], int n); void find_min_max(int 阅读全文
posted @ 2023-11-27 17:28 粟凝17 阅读(13) 评论(0) 推荐(0)
 
 

2023年11月14日

实验四
摘要: task.1.1 #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)); // 输出in 阅读全文
posted @ 2023-11-14 10:48 粟凝17 阅读(18) 评论(0) 推荐(0)
 
 

2023年10月30日

实验三
摘要: #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <math.h> int digit(int); void judge(int); static int x[10];//未赋值时默认为0 int main() { int n; 阅读全文
posted @ 2023-10-30 19:13 粟凝17 阅读(22) 评论(0) 推荐(0)
 
 

2023年10月17日

实验二
摘要: #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> int main() { char colour; while (scanf("%c", &colour) != EOF) if (colour >= 97 && colour <= 122) swi 阅读全文
posted @ 2023-10-17 15:18 粟凝17 阅读(19) 评论(0) 推荐(0)
 
 

2023年10月15日

https://www.cnblogs.com/suning17/
摘要: https://www.cnblogs.com/suning17/ 阅读全文
posted @ 2023-10-15 22:12 粟凝17 阅读(55) 评论(0) 推荐(0)
 
 

2023年10月7日

实验1
摘要: // 计算10亿秒约等于多少年,并打印输出 #include <stdio.h> int main() { int year; year = 1e9 / (60 * 60 * 24 * 365+0.5 ); printf("10亿秒约等于%d年\n", year); return 0; } #inc 阅读全文
posted @ 2023-10-07 11:21 粟凝17 阅读(30) 评论(0) 推荐(0)
 
 

2023年9月28日

task_1
摘要: #include<stdio.h> int main() { printf(" 0\n"); printf("<H>\n"); printf("I I\n"); system("pause"); return 0; } 阅读全文
posted @ 2023-09-28 14:39 粟凝17 阅读(12) 评论(0) 推荐(0)
 
 

公告


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