for example, memset( &result,0,sizeof(result));  in this function, I always forgot & . 

 

not end .

add some forgot problem.

when you write the for loop and if you should check the NULL is == or !=

because it will let you program overflow. the linux may say segment fault. so  you should check the bound is ok

 

i think when we are programming , we should must say we uses the 1 refer to ok  or wrong.in case we will lost in the many function.

 

ooh,some procedure must write in the same time keeo the datastrcuct is the same , the varible who used to communicate with other is the same.

to be continue....

posted on 2011-10-26 17:20  zengco2009  阅读(129)  评论(0编辑  收藏  举报