gooxiii吧 关注:1贴子:32
  • 2回复贴,共1
char a;
int i;
float f,f0;
double d;
char *p,*p0;
d = 0.2;
f = 261.1;
p = (char*)&f;
p0 = (char*)&f0;
*(p0++) = 0x0;
*(p0++) = 0x00;
*(p0++) = 0xa2;
*(p0++) = 0x41;
i = (int)f0;
Console::WriteLine(L"Hello World::0x{0:X00} {1:X00} {2:X00} {3:X00}", p[0], p[1],p[2],p[3]);
Console::WriteLine(L"Hello World::0{0:G}", f0);
Console::WriteLine(L"Hello World::0x{0:G}", i);
Console::WriteLine(L"Hello World");
Console::ReadKey();


IP属地:上海1楼2017-03-29 13:52回复
    现在我也忘了什么意思了


    IP属地:上海2楼2019-06-03 08:05
    回复
      打卡签到


      IP属地:上海3楼2019-06-18 08:21
      回复