摘要:
ifstream fin("example.txt", ios::binary);fin.seekg(0, ios::end); // 设置指针到文件流尾部streampos ps = fin.tellg(); // 指针距... 阅读全文
posted @ 2014-08-26 21:56
bgmind
阅读(1500)
评论(0)
推荐(0)
摘要:
string bytesToHexString(const char* bytes, int len) { string result = ""; string temp = "0123456789ABCDEF"; int index = 0; for (int i = 0; i > 4) ... 阅读全文
posted @ 2014-08-26 21:29
bgmind
阅读(229)
评论(0)
推荐(0)

浙公网安备 33010602011771号