Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
C++ で非常に簡単な質問があります。に相当するものは何ですか
x = new char[length]; mystream.read(x, length*sizeof(char)); delete[] x;
バイナリファイルseekgのサイズの一部を無視するには?length
seekg
length
どうもありがとうございました !
は必要ありません。seekg使用するだけistream::ignoreです。
istream::ignore
seekg(length, std::ios::cur)