i have this error no this line:
(the line)
ifstream fin;
(the error)
crosses initialization of `class ifstream fin'
i have this error no this line:
(the line)
ifstream fin;
(the error)
crosses initialization of `class ifstream fin'
If the line ifstream fin; is within a switch case block, a case exists that jumps past fin's initialization.
ok thanks ill use ifs and nto cases