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();
相關文章
相關標籤/搜索