10 2024 档案

摘要:// // Created by Administrator on 2024/10/29. // #ifndef LINK_H #define LINK_H /** * 链表的结构体 */ typedef struct Link { int element; struct Link *next; } 阅读全文
posted @ 2024-10-30 15:25 龍飛鳯舞 阅读(3) 评论(0) 推荐(0) 编辑
摘要:// // Created by Administrator on 2024/10/29. // #ifndef LINK_H #define LINK_H /** * 链表的结构体 */ typedef struct Link { int element; struct Link *next; } 阅读全文
posted @ 2024-10-30 10:25 龍飛鳯舞 阅读(40) 评论(0) 推荐(0) 编辑
摘要:// // Created by Administrator on 2024/10/29. // #ifndef LINK_H #define LINK_H /** * 链表的结构体 */ typedef struct Link { int element; struct Link *next; } 阅读全文
posted @ 2024-10-30 10:23 龍飛鳯舞 阅读(6) 评论(0) 推荐(0) 编辑
摘要:// // Created by Administrator on 2024/10/25. // 顺序表结构 // #ifndef ORDER_TABLE_H #define ORDER_TABLE_H /*声明顺序表的长度*/ #define Size 5 /** * 声明顺序表结构体 */ ty 阅读全文
posted @ 2024-10-30 10:21 龍飛鳯舞 阅读(7) 评论(0) 推荐(0) 编辑
摘要:注意:发送消息通知要开启设置中的消息通知 import notify from '@ohos.notificationManager' import image from '@ohos.multimedia.image' import { BusinessError } from '@kit.Bas 阅读全文
posted @ 2024-10-11 15:45 龍飛鳯舞 阅读(33) 评论(1) 推荐(0) 编辑
摘要:1. 数据查询model: entry/src/main/model/TaskModel.ets import relationalStore from '@ohos.data.relationalStore'; import { common } from '@kit.AbilityKit'; i 阅读全文
posted @ 2024-10-11 13:22 龍飛鳯舞 阅读(94) 评论(0) 推荐(0) 编辑
摘要:1. ets/common/util/PreferencesUtils.ets import { common } from '@kit.AbilityKit'; import { preferences } from '@kit.ArkData'; class PreferencesUtil { 阅读全文
posted @ 2024-10-10 16:39 龍飛鳯舞 阅读(36) 评论(0) 推荐(0) 编辑
摘要:@Observed class Task { static id: number = 1 /*任务序号 静态属性*/ name: string = `任务${Task.id++}` finished: boolean = false } /*统一样式*/ @Styles function card( 阅读全文
posted @ 2024-10-09 15:56 龍飛鳯舞 阅读(11) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示