items.h

来自「我搜集到的一个java常用类库的源代码」· C头文件 代码 · 共 22 行

H
22
字号
//ecnegrevid 2001.7.20#ifndef items_h#define items_hstruct item {	char name[50];	int value;};struct items {	int n;	int max;	struct item *item;};struct items* creatitems(int max);void freeitems(struct items *items);int readitems(struct items *items, const char *filename);int saveitems(struct items *items, const char *filename);void additem(struct items *items, const char *name, int value);int readvalue(struct items *items, const char *name, int *value);int additemf(const char *filename, int max, const char *name, int value);int readvaluef(const char *filename, int max, const char *name, int *value);#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?