2012年6月6日
摘要: 1.段错误当函数执行一次的时候不报错,当函数在一个循环中迭代调用的时候报段错误。错误原因。int weight=0;fprintf( ferr, "%s\t%f\t%s\n", word, weight, hzpy );当此条语句改为fprintf( ferr, "%s\t%d\t%s\n", word, weight, hzpy );时候则不报错。2.双层hashif(defined($hashtobeupdate{$vec[1]}))126 {127 if(defined($hashtobeupdate{$vec[1]}{$vec[0]})& 阅读全文
posted @ 2012-06-06 10:15 finallyly 阅读(349) 评论(0) 推荐(0)