SEEK_SET in fstreams?
-
Hi,
wie sähe diese Zeile in fstreams aus?
fseek(pFile, header.bfOffBits, SEEK_SET);
Ich find nix richtig äquivalentes zu fseek bei fstreams nur "seekp" und "seekg" (keine ahnung was man nehmen soll) und vorallem find ich nix wie std::ios::seek_set?
-
Hallo,
dann sieh mal hier:
http://www.cppreference.com/cppio_details.html#seekg
...oder hier:
http://www.cplusplus.com/ref/iostream/istream/seekg.html
-
seekp ist für ausgabe und seekg ist für eingabe