Bentley中有没有可以供调用的将数据转换为二进制的函数或者类呢?
这不是MSTN SDK特有的,您可以到网上搜一下,有很多实现方法,例如这个连接里边介绍的:zhuanlan.zhihu.com/.../150820820
#include <bitset>
float f = 5.5f; std::bitset<sizeof(float)*CHAR_BIT> foo(*reinterpret_cast<unsigned long*>(&f));
string bitResult = foo.to_string();