From a design perspective, is this generally accepted, or is it considered bad form?
so, instead of
Expand|Select|Wrap|Line Numbers
- private:
- ofstream m_outfile;
- ifstream m_infile;
Expand|Select|Wrap|Line Numbers
- private:
- fstream m_file;
one fstream member instead of ofstream and ifstream - acceptable practice?
|