凹凸Man

When you're lying, it's hard to tell a story backwards, because there's no real memory of what happened.
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2010年5月19日

摘要: 结构体数据长度:4字节对齐1、typedef struct tagA{ shorta;char b;}TA;sizeof(TA) = 4;2、typedef struct tagA{ shorta;}TA;sizeof(TA) = 2;3、typedef struct tagA{char b;}TA;sizeof(TA) = 1;4、typedef struct tagA{ shorta;char... 阅读全文

posted @ 2010-05-19 09:54 凹凸Man 阅读(1021) 评论(0) 推荐(1)

摘要: 一、看美剧本(lie to me) 看剧本(中英对照)http://www.icoolen.com/二、练习写作的www.mylot.com 论坛形式,有问必答,也可以回复问题三、翻译,记单词的好东西http://cn.bab.la/词典/ 阅读全文

posted @ 2010-05-19 00:47 凹凸Man 阅读(125) 评论(0) 推荐(1)

摘要: class Node{public:int data;Node* next;};Node* ReverseList(Node *head){if((head->next == NULL) || (head == NULL))return head;Node *temp1 = head;Node *temp2;Node *temp3 = temp1->next;temp1->nex... 阅读全文

posted @ 2010-05-19 00:32 凹凸Man 阅读(677) 评论(0) 推荐(1)