2011年11月19日
摘要: char c = *(char*)pByte;short shrt = *(short*)(pByte+1);long lng = *(long*)(pByte+3);float flt = *(float*)(pByte+7);string str = (char*)(pByte+11);JohnEx:You are not converting char to float; rather you are interpreting a sequence of 4 bytes as a float. Not the same thing at all. There is no need to 阅读全文
posted @ 2011-11-19 15:03 3D入魔 阅读(430) 评论(0) 推荐(0) 编辑