一、数组的概述 ##1. 数组的理解: 数组(Array),是多个相同类型数据一定顺序排列的集合,并使用一个名字命名,并通过编号的 方式对这些数据进行统一管理。 ##2. 数组相关的概念: 数组名 元素 角标、下标、索引 数组的长度:元素的个数 ##3. 数组的特点: 数组是序排列的 数组属于引用数 ...
分类:
编程语言 时间:
2020-11-01 20:53:53
阅读次数:
19
//求最大值和最小值#define MY_MAX( x, y ) ( ((x) > (y)) ? (x) : (y) ) #define MY_MIN( x, y ) ( ((x) < (y)) ? (x) : (y) ) //得到一个field在结构体(struct)中的偏移量//#define ...
分类:
编程语言 时间:
2020-11-01 10:38:25
阅读次数:
18
「[USACO08DEC-Gold] Trick or Treat on the Farm」题解 By 5ab as a juruo. ...
分类:
其他好文 时间:
2020-11-01 10:05:14
阅读次数:
8
加入 单位是kb 保存即可 idea.max.intellisense.filesize=524288 ...
分类:
Web程序 时间:
2020-11-01 09:34:41
阅读次数:
24
Window中VB有InputBox的功能,但SDK、MFC、WTL等并未提供类似功能。 WTL有CIndirectDialogImpl,可以很简单的构建对话框。基于此,实现一个简单的InputBox功能 #define BUF_LEN MAX_PATH #define IDC_TEXT (100) ...
分类:
其他好文 时间:
2020-10-31 01:51:43
阅读次数:
17
一。通过CSS检测本机设备屏幕大小分配样式 1、最小尺寸分辨率1024*768(传统17寸显示器),则可以采用940px、960px、或者常用的980px作为最小宽度。 在可视区域的宽度小于 600px 的时候被应用。@media screen and (max-width: 600px) {.cl ...
分类:
移动开发 时间:
2020-10-31 01:25:31
阅读次数:
36
关于线程创建函数pthread_create #include<pthread.h> int pthread_create(pthread_t *tidp, const pthread_attr_t *attr, void *(*start_rtn)(void*), void *arg); // 第 ...
分类:
其他好文 时间:
2020-10-30 13:18:56
阅读次数:
37
//顺序表基本运算算法 #include <stdio.h> #include <malloc.h> #define MaxSize 50 typedef int ElemType; typedef struct { ElemType data[MaxSize]; //存放顺序表元素 int len ...
分类:
数据库 时间:
2020-10-30 12:49:15
阅读次数:
16
css 数学函数 min max calc :root{ --box:120px } .box { /*width: var(--box); 120px*/ /*width: min(var(--box),100px); 100px*/ /*width: max(var(--box), 100px) ...
分类:
编程语言 时间:
2020-10-30 12:16:45
阅读次数:
18