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;
不是更好么