Quick question.

[Solved]
Last edited on
What do you mean by
call a file from a function besides main()
Files are not functions, they cannot be called.

If you want to not read anything which already was read, use only one fstream/FILE* pointer and pass it by reference to other functions which will access that file.
Topic archived. No new replies allowed.