我想实现一个内存管理模拟(好友),采用二叉树C的系统是如何工作的想法是这里概述: http://en.wikipedia.org/wiki/Buddy_memory_allocation 第一次输入一个值时,代码工作正常,并给出所需的输出。第二次输入值时会出现问题。我使用递归函数来遍历树,并且我得到一个错误,从而结构存在,但是结构的成员不存在。 Program received signal SI
我只是用一个系统上的代码没有完整的内存管理 的左操作数: typedef unsigned short component_t;
typedef struct {
component_t* c; // least-significant word first
unsigned int num_components; // number of unsigned short ro