huangblue / wantxie

w ideas,one piece one number
0 stars 0 forks source link

fgets() 与gets()的区别 #79

Open huangblue opened 7 years ago

huangblue commented 7 years ago

本例中同时用fgets() 代替gets(), 以便array 的结束符不被改写。【C语言常见问题集,p55,7.1】