1 2 3 4 5 ··· 23 下一页
摘要: int main() { int dail_num; printf("请出入: \n"); scanf("%d",&dail_num); switch (dail_num){ case 1: case 2: case 12: printf("冬季 \n"); break; case 3: case 阅读全文
posted @ 2026-09-25 19:52 Coca-code 阅读(0) 评论(0) 推荐(0)
摘要: #include <iostream> #include <stdio.h> #include <cmath> int main() { int score; scanf("%d", &score); if (score <= 0) { printf("评分为D。\n"); } else if (s 阅读全文
posted @ 2026-09-24 16:14 Coca-code 阅读(5) 评论(0) 推荐(0)
摘要: // 内核中的 file 结构体(简化版) struct file { struct file_operations *f_op; // 函数指针表 void *private_data; // 具体设备数据 int f_flags; loff_t f_pos; }; // 每种设备实现这些操作 s 阅读全文
posted @ 2026-09-14 21:34 Coca-code 阅读(4) 评论(0) 推荐(0)
摘要: #include <math.h> #include <stddef.h> #include <stdint.h> #define SPEED_OF_LIGHT_M_S 299792458.0 typedef struct { double freq_hz; /* tone frequency fo 阅读全文
posted @ 2026-08-05 11:35 Coca-code 阅读(7) 评论(0) 推荐(0)
摘要: 状态: 未创建态 就绪态 (Ready) 运行态 (Running) 延时态 (Blocked/Delayed) 挂起态 (Suspended) 事件 (Event waiting) 关键转换: a: 创建 → 就绪 b: 就绪 → 运行 (优先级最高) c: 运行 → 就绪 (被抢占) d: 运行 阅读全文
posted @ 2026-03-17 19:07 Coca-code 阅读(16) 评论(0) 推荐(0)
摘要: <!DOCTYPE html><html lang="zh-CN"><head><meta charset="UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /><title>CSS九宫格布局 阅读全文
posted @ 2026-03-16 23:01 Coca-code 阅读(32) 评论(0) 推荐(0)
摘要: <!DOCTYPE html><html lang="zh-CN"><head><meta charset="UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /><title>CSS九宫格布局 阅读全文
posted @ 2026-03-16 22:18 Coca-code 阅读(18) 评论(0) 推荐(0)
摘要: let mapBounds = {}; const imageWidth = 800, imageHeight = 600; let targets = []; // Array of moving targets function init(coordinate_lt, coordinate_rb 阅读全文
posted @ 2025-03-27 15:48 Coca-code 阅读(38) 评论(0) 推荐(0)
摘要: #include <stdint.h> #include <stdio.h> #define MAX_PAYLOAD 128 // Larger buffer for diverse data // Enum for input formats typedef enum { FORMAT_TEXT, 阅读全文
posted @ 2025-03-24 15:17 Coca-code 阅读(38) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <stdlib.h> #include <time.h> #include <string.h> #include <stdbool.h> #include <dlfcn.h> #include <signal.h> #include <set 阅读全文
posted @ 2024-03-18 00:00 Coca-code 阅读(35) 评论(0) 推荐(0)
1 2 3 4 5 ··· 23 下一页