⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 q.h

📁 细胞自动机的一个源代码
💻 H
字号:
#ifndef Q_HEADER#define Q_HEADER#include <stdio.h>#include <stdlib.h>typedef struct queue_type {  int front, end, len, size;  void *(*get)(struct queue_type *qt);  void *(*put)(struct queue_type *qt, void *p);  void *(*peek)(struct queue_type *qt);  void *(*putmore)(struct queue_type *qt, void **p, int l);  //peekmore? getmore?  void **q;} q_t;q_t *qtmalloc(int initl);void qtfree(q_t *q);void *qtget(q_t *q);void *qtput(q_t *q, void *p);void *qtpeek(q_t *q);void *qtputmore(q_t *q, void **p, int l);#endif

⌨️ 快捷键说明

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