fstream problem

Thank you for helping me
Last edited on
Your format on line 11 is incorrect.

All you really need is
if (infile.good())

If you want to fix your line then use
if ((infile.is_open()) && (infile.good()))

ok. it still show me noting? is there something wrong with my tree? I am trying to create BT using argv
Topic archived. No new replies allowed.