51中如果用sprintf()函數(shù)一定要多注意!
(int)SystemTime.year,
(int)SystemTime.month,
(int)SystemTime.day,
(int)SystemTime.hour,
(int)SystemTime.minute,
(int)SystemTime.second
);
如果不加強(qiáng)制轉(zhuǎn)換,打印輸出異常。51一定要注意,耽誤了我一個(gè)上午的時(shí)間?。?/p>本文引用地址:http://m.butianyuan.cn/article/201611/317302.htm
評(píng)論