摘要:        
将整数转换成浮点数:#include <stdio.h>int main(void){ int i; printf("Please input a 0x integer value: "); scanf("%x", &i); float *f = (float *)&i; printf("%f\n",*f); return 0;}将浮点数转成整数:#include <stdio.h>int main(void){ float ff; printf("Please input a flo    阅读全文
posted @ 2012-02-14 15:30
朝雾之归乡
阅读(4805)
评论(0)
推荐(0)
        
 
                    
                
 浙公网安备 33010602011771号
浙公网安备 33010602011771号