Friday 12 January 2018

c++ - ifstream equivalent of FILE *'s rewind method

I've been tasked to update some C code to C++ and was
curious, what is the equivalent method or implementation of C FILE *'s rewind method
within ifstream?

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...