solved

sorry, i cant find a delete thread button... i solved my issue
Last edited on
This is what you are doing
1
2
3
fstream fout;
fout.open("first.txt");
fout.open("second.txt");
You need 2 objects.

Also
1
2
//if (value = 1)
if(value == FIRST)
= is assignation, == is comparison.
And if you take the work to define an enum, use it
Last edited on
There isn't a delete button, because there is no need of one
http://www.cplusplus.com/forum/articles/40179/
Topic archived. No new replies allowed.