#include <stdio.h> #include <stdlib.h> /* 定义结构体 */ typedef struct Node { int data; //数据域 struct Node * pNext;//指针域 }NODE, * PNODE; //由于使用了typedef, 所以N ...
分类:
其他好文 时间:
2020-11-01 22:00:48
阅读次数:
14
设计模式(六)——JDK中的那些工厂方法新专题:设计模式,我会在博客(http://www.hollischuang.com)及微信公众号(hollischuang)同步更新,欢迎共同学习。在设计模式(五)——工厂方法模式中介绍了工厂方法模式。本文通过介绍JDK源码中用到的工厂方法,在上篇文章的基础上深入理解一下工厂方法。再谈工厂方法在设计模式(五)——工厂方法模式中用整篇介绍了工厂方法模式。为什
分类:
其他好文 时间:
2020-11-01 21:51:50
阅读次数:
15
//求最大值和最小值#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
##Time 2020.10.31 Summary Research Objective Problem Statement Method(s) The methodology in this paper closely follows the simulation and measurement ...
分类:
其他好文 时间:
2020-11-01 10:33:43
阅读次数:
17
#include <stdio.h> #include<string.h> #include<stdlib.h> //第一关代码 struct node {//此处填写代码,定义链表结点类型,包含一个存放整型数据的 成员,和一个指向下一个结点的成员 int data; struct node* ne ...
分类:
其他好文 时间:
2020-11-01 10:15:29
阅读次数:
17
Linux编辑器-vim使用1.vim的基本概念vim有许多模式,其实我们常用的也大概就三种,分别是:命令模式(commandmode)、插入模式(Insertmode)和底行模式(lastlinemode)。各模式功能区分如下:正常/普通/命令模式(Normalmode)控制屏幕光标的移动,字符、字或行的删除,移动复制某区段及进入Insertmode下,或者到lastlinemode插入模式(I
分类:
系统相关 时间:
2020-11-01 09:50:23
阅读次数:
20
# include <bits/stdc++.h> using namespace std; const int N = 2050; int n,m; int lowbit(int x) {return x & -x;} struct _2wBIT { int a[N][N]; void clear ...
分类:
其他好文 时间:
2020-11-01 09:41:49
阅读次数:
19
VB 数据库操作实例:写入软件版本号(版本控制代码实现)
分类:
数据库 时间:
2020-10-31 02:07:39
阅读次数:
23
//顺序表基本运算算法 #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
1. 没有上报101,直接上报了201,看下LOG,其中的上报下载进度成功 case OTA_EVENT_REPORT_DOWNLOAD_PROGRESS_OK: { ota_log_printf("Report download progress success\r\n"); if(ctx->do ...
分类:
其他好文 时间:
2020-10-30 12:35:50
阅读次数:
23