2012年3月14日

error: expected identifier before numeric constant

摘要: 当有下列语句时将出现此状况 printf("\n\t\tSales as percentage of inventory:\t\t%f".\ 100*((float)total_cars_sold[brand]/(float) cars_in_stock[brand]));57:7: error: expected identifier before numeric constant原因是\前的不是, 误写成了.网上查了下还有相关 的也出现了此类问题:http://hi.baidu.com/yesbaba/blog/item/a8df963613c96c350a55a95b 阅读全文

posted @ 2012-03-14 08:43 X.P.Chen 阅读(1234) 评论(0) 推荐(0)

导航