I want to overload the []-operator to mimic an array as file access using C++.

For example:
Test = MyFile[89];

To load record 89 into object Test.

Is this also possible the other way around:

MyFile[89] = Test;

That is, to write the contents of Test to record 89 in the file???

Thank you!!!

Luc