- 博客(5)
- 收藏
- 关注
原创 define const enum
#define MAX_BALANCE 100000 const int MAX_BALANCE 100000 prefer to use const, as pre compile phase, the MAX_BALANCE is replaced by the value(100000), it is not made into symbol table. It's not eas
2015-08-02 18:52:41 227
原创 vim tips
1. vi all files in current directory vim -p * :tabn ---for switch to next tab :qall ---exit from all tab buff.
2015-07-13 13:52:47 173
转载 字节对齐
1 字节对齐的原则:每个字段的起始偏移地址必须是该字段的倍数,并且总的大小必须是最大的字段的size的倍数。 字符串数组是按一个个byte来算的。 typedef struct { unsigned short id; unsigned short data_size; char data[506]; unsigned short verify_cod
2015-07-08 22:55:30 222
原创 多线程
原来的lightweight是1个线程切换多个进程间,所以是串行的。(libgen在xxxi上)shared stack 现有的linux是多个线程,就是并行的。
2015-07-01 22:02:50 187
原创 没有职业目标
如果没有明确的职业目标,那么自己就像没有的根的浮萍, 水流到哪里,就漂到哪里。所以制定: 1. 软件编码设计架构的能力 2. 底层汇编的学习
2015-05-22 23:14:34 181
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人