摘要:
#include<iostream>#include<vector>#defineMINUTES_12H60*24.intmain(intargc,char**argv){doubletmp1=80./MINUTES_12H;doubletmp2=80./1440.;printf("useMACRO.=%.5f\n",tmp1);printf("use1440.=%.5f\n",tmp2); system("PAUSE");return0;}tmp1和tmp2的值是不一样的.推测可能的缘由跟内存排布有关。。。求 阅读全文
posted @ 2011-10-11 20:52 mumuliang 阅读(484) 评论(4) 推荐(0) 编辑