C++按位写入/读取文件

#include<fstream> #include<string> #include<iostream> using namespace std; int main() { ofstream 输出文件("test.bin", ios::out | ios::binary); string test = "Hello,world!"; int length = test.size();
相关文章
相关标签/搜索