/* 使用方式如下,与DateEdit使用方式基本一致 1、引用组件 2、 <TableDateEdit key={record.id + 'start'} //key随意指定 txtValue={record.planStartTime} //控件需要显示的内容 rowID={record.id} ...
分类:
Web程序 时间:
2020-09-24 21:58:49
阅读次数:
54
题目链接:反转链表 方法一:递归解法 /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} ...
分类:
其他好文 时间:
2020-09-24 21:55:20
阅读次数:
37
代码如下 #include<iostream> using namespace std; const int MAXN = 1000 + 5; struct Node // 进去一个出去一个,很明显,队列 { int num; // 保存进去的数字 }; struct Node queue[MAXN ...
分类:
其他好文 时间:
2020-09-24 21:25:32
阅读次数:
42
snake_case被称为蛇形命名法,一般是用来命名变量名称的,snakecase要求短语内的各个单词或缩写之间以(下划线)做间隔,如user_name,snakecaseetc.camelCase被称为驼峰命名法,也是一种变量命名规则。camelCase要求第一个单词首字母小写,后面单词首字母大写,例如:fileName、lineNumber,camelCaseetc.最后再说一次,你们这个文本
分类:
其他好文 时间:
2020-09-23 23:37:47
阅读次数:
37
转自:https://www.cnblogs.com/arnoldlu/p/8329279.html 专题:Linux内存管理专题 关键词:VMA、vm_area_struct、查找/插入/合并VMA、红黑树。 用户进程可以拥有3GB大小的空间,远大于物理内存,那么这些用户进程的虚拟地址空间是如何管 ...
分类:
系统相关 时间:
2020-09-18 17:25:39
阅读次数:
66
桥接模式 定义: “Represent an operation to be performed on the elements of an object structure. Visitor lets you define a new operation without changing the ...
分类:
编程语言 时间:
2020-09-18 17:19:54
阅读次数:
50
###数据结构2-顺序表的建立、删除、遍历和插入操作 #include<stdio.h> #include<iostream> #define MaxSize 10 using namespace std; typedef struct //定义顺序表结构体 { int data[MaxSize]; ...
分类:
其他好文 时间:
2020-09-18 03:31:08
阅读次数:
37
基于数组的ArrayList ArrayList是Java中我们最常使用的List接口的实现类,其是内部就是通过维护一个无序数组来实现的。因此ArrayList具备无须数组拥有的所有优点和缺点: 操作 时间复杂度 插入 O(1) 删除 O(N) 查找 O(N) 1、注意: 1、ArrayList总是 ...
分类:
其他好文 时间:
2020-09-18 02:00:11
阅读次数:
26
@Retention 注解的作用 注解@Retention可以用来修饰注解,是注解的注解,称为元注解。 Retention注解有一个属性value,是RetentionPolicy类型的,Enum RetentionPolicy是一个枚举类型, 这个枚举决定了Retention注解应该如何去保持,也 ...
分类:
其他好文 时间:
2020-09-18 01:46:29
阅读次数:
29
目前状态 一时脑热开始写的东西,计划完全使用C语言实现,尽量使用通用接口,能够在windows上直接运行 几乎是一穷二白,初步搭建了牌堆、玩家信息接口体,编写了简单的UI函数,能够将玩家信息显示在屏幕上 牌堆 由cards.h中定义了卡牌的信息结构体 enum Card_Color {heart = ...
分类:
其他好文 时间:
2020-09-18 01:35:52
阅读次数:
38