📄 map.h
字号:
#ifndef _MAP_H
#define _MAP_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
typedef struct _MapNode
{
char *str;
char *value;
struct _MapNode *left;
struct _MapNode *right;
}MapNode, *Map;
// Assign new value to node, if not found, allocate one
void MapAssign(Map *pmap, char *str, char *value);
// Find node with specified str, if not found NULL is returned
char* MapFind(Map map, char *str);
void MapClear(Map map);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -