i have 1 structure file with int, string and image members.
i had overloading the << and >> stream operators on it and on image too.
on image i'm trying getting the stream size.
but before continue i need 1 correction:
the istream::seekg() changes the entire file position, or the actual stream position?Code:friend std::istream& operator >> (std::istream& lhs, image& rhs)