13 stringstream ssstr;ssstr<<str;
19 int main(
int argc,
char **argv){
22 if (argc!=2){cerr<<
"Usage in "<<endl;
return -1;}
28 cout<<
"\n\nvector<uint64_t> codes={";
30 for(
int i=0;i<dic.size();i++){
31 uint64_t code=
fromString(dic[i].toString()).to_ullong();
33 cout<<
"0x"<<std::hex<<code<<
"UL";
34 if (i<dic.size()-1)cout<<
",";
int main(int argc, char **argv)
bool fromFile(std::string filename)
bitset< 64 > fromString(std::string str)