线性表(LinearList)

InitList(&L)
DestroyList(&L)

ClearList(&L)

ListEmpty(L)
ListLength(L)

GetElem(L, i, &e)
LocateElem(L, e, compare())

PriorElem(L, e, &pre)
NextElem(L, e, &next)

ListInsert(&L, i, e)
ListDelete(L, i, &e)
ListTraverse(L, visit())

线性表

#define LIST_INIT_SIZE 100
#define LISTINCREMENT 10
typedef struct {
    ElemType *elem;
    int length;
    int listsize;
}SqList;

Status InitList_Sq(SqList &L){
    L.elem = (ElemType*) malloc(LIST_INIT_SIZE * sizeof(ElemType));
    if(!L.elem) exit(OVERFLOW);

    L.length = 0;
    L.listsize = LIST_INIT_SIZE;

    return OK;
}

Status ListInsert_Sq(SqList &L, int i, ElemType e){
    if(i < 1 || i > L.length + 1) return ERROR;

    if(L.length >= L.listsize){
        newbase = (ElemType*) realloc(L.elem, (L.listsize + LISTINCREMENT) * sizeof(ElemType));
        if(!newbase) exit(OVERFLOW);

        L.elem = newbase;
        L.listsize += LISTINCREMENT;
    }

    q = &(L.elem[i - 1];
    for(p = &(L.elem[L.length - 1]; p >= q; —p){
        *(p + 1) = *p;
    }
    *q = e;
    ++L.length;

    return OK;
}

Status ListDelete_Sq(SqList &L, int i, ElemType &e){
    if( i < 1 || i > L.length) return ERROR;

    p = &(L.elem[i - 1];
    e = *p;
    q = L.elem + L.length - 1;

    for(++p; p <= q; ++p){
        *(p - 1) = *p;
    }

    —L.length;
    return OK;
}

线性链表

  • 单链表
typedef struct LNode {
    ElemType data;
    struct LNode *next;
} LNode, *LinkList;

void CreateList_L(LinkList &L, int n){
    L = (LinkList)malloc(sizeof(LNode));
    L->next = NULL;

    for(i = n; i > 0; --i){
        p = (LinkList)malloc(sizeof(LNode));
        scanf(&p->data);
        p->next = L->next;
        L->next = p;
    }
}

星期 月份 季节 英语单词

星期一:Monday [mʌndei] 星期二:Tuesday [tju:zdei] 星期三:Wednesday [wænsedi] 星期四:Thursday [θə:zdei] 星期五:Friday [fraidei] 星期六:Saturday [sætədei] 星期天:Sunday [[sʌndei]

一月:January
二月:February
三月:March
四月:April
五月:May
六月:June
七月:July
八月:August
九月:September
十月:October
十一月:November
十二月:December

spring
summer
autumn
winter

单词

Conver 转换

convert 

a persion who has been persuaded to change their religious faith or other beliefs.

"he is a recent convert to the church"

cause to change in form, character, or function.

“production processes that converted raw material int useful forms”

score from (a penalty kick, pass, or other opportunity) in a sport or game.

“Rea kept on converting those chances to scores.”

(convert, vary, alternate; exchange, convert; transform, reform, change, convert, alter; change, become, transform, shift, vary, convert; convert; turn, melt, transform, convert, change into, expend; amount, convert; exchange, cash, convert, add; fold, discount, break, bend, lose, convert; convert, evaluate; convert; convert, exchange for money)

obey

ocean

occur

October

offer

office    officer

operate  operation

opinion

opposite

order

ordinary

organize

otherwise

ought

pack packet

pain

paint painting

pair

palace

pale

paragraph

Paris

park

part

particular

partly

party

pass passage

passenger

passer-by

patient

pattern

印象笔记/Evernote同步文章到WordPress博客插件EvernoteSync

插件名称: Evernote Sync

只要给笔记添加“posts”标签就能被同步到自己的 WordPress。不光支持 Evernote 国际版,同样支持国内的印象笔记!更值得一提的是,使用马克飞象编辑的笔记也能完美的同步。什么分类、标签、图片啊,一个都不能少。

功能说明:

该插件同时适用于 Evernote 和 印象笔记(以下统一称为 Evernote);

添加“posts”标签的 Evernote 将自动同步至 WordPress;

大约每 30 分钟同步一次;

每次同步最近新增或修改的 10 篇笔记;

同步内容包括分类、标签、标题、内容及其包含的图片;

Evernote 中同名标签同步为 WordPress 分类;

不在 WordPress 分类中的 Evernote 标签,除“posts”标签外,按名称全部同步为 WordPress 标签;

支持马克飞象编辑的笔记。

使用方法:

下载安装;

进入“设置(Settings) > Evernote 同步(Evernote Sync)”选择对应的平台和开发者token并保存;

给需要同步的笔记添加“posts”标签;

也可以到插件的设置页面里进行手动同步。

系统要求:

php 5.3 及其以上。

WordPress.org 下载地址:

https://wordpress.org/plugins/evernote-sync/

(也可以到自己的 WordPress 网站后台里搜索“evernote sync”并添加)

百度云下载:

【2015-5-30】v 1.0.1 更新(下载

清楚标签下的 style 属性

清楚 code 标签下的所有标签

【2015-5-29】v 1.0.0 出版(下载

(最新版请直接到自己网站的后台下载)

转载至:https://seofangfa.com/wordpress-study/evernote-wordpress.html