0

Hi, my question is about the fstream object. How does it work? since I was writing a program and I defined many files for the object. I want to know if I can display all the files of the object at once and if so how. Thanks for understanding. This is not a part of my homework. I know that you can display individual files at once. Just wana know how to do all of them at once.
Thanks for undestanding.

Oh and Narue. sorry for doing that again. I know how to use code tags. But I forgot to. Thanks anyway.
2
Contributors
1
Reply
2
Views
13 Years
Discussion Span
Last Post by Narue
0

>How does it work?
Wow, that's an open question. ;) I don't imagine you want an implementors view though.

>I want to know if I can display all the files of the object at once and if so how.
An fstream object can only refer to a single file at any given time. It sounds like you want a vector or array of them.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.