re: 结构体对齐那点事 熟练c/c++(四) feosun 2009-01-07 16:57
在gcc下example1和example2都是16 中默认字节对齐为4 所以都是16
On windows platform,VS is the most powerful and professional IDE, but in linux ur solution is a good choice.
re: 删除首次出现字串 feosun 2008-07-08 08:37
while (!*s2)
return ret;
写成
if (!*s2)
return ret;
不是更好么