摘要: #include//int float double short char longint main(){ //int printf(const char *format,[argument]); //format的格式 %[flags][width][.prec][F|N|h|l]type //type的字符用于规定输出数据的类型 //d、i 接受整数值并将它表示为有符号的十进制整数,i是老式写法 int a = 10; printf("%d\n",a); //f float或double 单精度浮点数或双精度浮点数 float f =... 阅读全文
posted @ 2014-01-18 21:35 天之涯0204 阅读(545) 评论(0) 推荐(0) 编辑