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