C++隨手記---16進制輸入問題

隨手記   c++讀取文件時,以16進制輸出時,發現這麼一個坑:   文件的16進制內容:   讀取的代碼:   void readDst(){ int i; ifstream infile("3303.dst",ios::binary); assert(infile.is_open()); streampos pos = infile.tellg(); infile.seekg(
相關文章
相關標籤/搜索