2666| 5
|
double如何取位?我想把他的每8位都取出来 |
1金钱
最佳答案union
{
double m_dfData;
unisgned char m_aucData[8];
} test;
test.m_dfData = 1.23;
然后用联合体的数组
| ||
| ||
He who fights with monsters should look to it that he himself does not become a monster, when you gaze long into the abyss, the abyss also gazes into you.
过于执着就会陷入其中,迷失自己,困住自己。 |
||
| ||
| ||
| ||
| ||
|手机版|OpenEdv-开源电子网
( 粤ICP备12000418号-1 )
GMT+8, 2025-2-24 18:21
Powered by OpenEdv-开源电子网
© 2001-2030 OpenEdv-开源电子网