64,281
社区成员
发帖
与我相关
我的任务
分享
string bitval = m;//m是一个一维字符数组
bitset<COLUMN> b(bitval);
ofstream ofs("E:\\GPU_Bitmap_Apriori\\data\\fimi\\r1.bin", ios::binary);
ofs.write((char*)&b, sizeof(b)); //写入 b
cout<<"sizeof(b):"<<sizeof(b)<<endl;
cout<<"b:"<<b<<endl;