代码如下:
- void main()
- {
- BYTE s[4];
-
- s[3]=0x44;
- s[2]=0x0C;
- s[1]=0x80;
- s[0]=0x00;
-
- float *pf=(float*)s;
-
- printf("10进制%g\n",*pf);
-
- }
赞
踩
代码如下:
- void main()
- {
- BYTE s[4];
-
- s[3]=0x44;
- s[2]=0x0C;
- s[1]=0x80;
- s[0]=0x00;
-
- float *pf=(float*)s;
-
- printf("10进制%g\n",*pf);
-
- }
转载于:https://my.oschina.net/871120/blog/491024
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。