摘要: #include #include #include #include #include #include #include const unsigned char * loadfile(const std::string &file, int &size){ std::ifstream fs(file.c_str(), std::ios::binary); fs.seekg(0, std::ios::end); size = fs.tellg(); char * data = new char[size + 1]; fs.seekg(0); fs.read... 阅读全文
posted @ 2014-02-20 17:26 20118281131 阅读(901) 评论(0) 推荐(0) 编辑