摘要: 1 #define BinNodePosi(T) BinNode* 2 3 template struct BinNode{ 4 5 T key;//键值 6 BinNodePosi(T) leftChild;//左孩子 7 BinNodePosi(T) rightChild;//右孩子 8 BinNodePosi(T) parent... 阅读全文
posted @ 2016-08-09 08:25 Fantasy's 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 一、32位编译器: char :1个字节 char*(即指针变量): 4个字节(32位的寻址空间是2^32, 即32个bit,也就是4个字节。同理64位编译器) short int : 2个字节 int: 4个字节 unsigned int : 4个字节 float: 4个字节 double: 8个 阅读全文
posted @ 2016-08-09 08:23 Fantasy's 阅读(4213) 评论(0) 推荐(0) 编辑