随笔分类 -  郝斌数据结构上课代码

摘要:#include #include typedef struct Que{ int * pBase; int front; int rear;}QUE; void init(QUE *);bool en_queue(QUE *, int);void tra_queue(QUE *)... 阅读全文
posted @ 2014-10-28 16:46 肉球 阅读(157) 评论(0) 推荐(0)
摘要:#include #include #include //局部变量在栈里面分配。静态分配都在栈里面分配,动态都在堆里面分派的。typedef struct Node{ int data; struct Node *pNext;}NODE, * PNODE; ... 阅读全文
posted @ 2014-10-27 17:01 肉球 阅读(188) 评论(0) 推荐(0)