10 2024 档案
摘要:// // Created by Administrator on 2024/10/29. // #ifndef LINK_H #define LINK_H /** * 链表的结构体 */ typedef struct Link { int element; struct Link *next; }
阅读全文
摘要:// // Created by Administrator on 2024/10/29. // #ifndef LINK_H #define LINK_H /** * 链表的结构体 */ typedef struct Link { int element; struct Link *next; }
阅读全文
摘要:// // Created by Administrator on 2024/10/29. // #ifndef LINK_H #define LINK_H /** * 链表的结构体 */ typedef struct Link { int element; struct Link *next; }
阅读全文
摘要:// // Created by Administrator on 2024/10/25. // 顺序表结构 // #ifndef ORDER_TABLE_H #define ORDER_TABLE_H /*声明顺序表的长度*/ #define Size 5 /** * 声明顺序表结构体 */ ty
阅读全文
摘要:注意:发送消息通知要开启设置中的消息通知 import notify from '@ohos.notificationManager' import image from '@ohos.multimedia.image' import { BusinessError } from '@kit.Bas
阅读全文
摘要:1. 数据查询model: entry/src/main/model/TaskModel.ets import relationalStore from '@ohos.data.relationalStore'; import { common } from '@kit.AbilityKit'; i
阅读全文
摘要:1. ets/common/util/PreferencesUtils.ets import { common } from '@kit.AbilityKit'; import { preferences } from '@kit.ArkData'; class PreferencesUtil {
阅读全文
摘要:@Observed class Task { static id: number = 1 /*任务序号 静态属性*/ name: string = `任务${Task.id++}` finished: boolean = false } /*统一样式*/ @Styles function card(
阅读全文