0
very important: as i can do so that the user can enter data into a .txt file . i try with: ... float Data; fstream Leer(temp.txt , iOS::app); if(Leer.good()) {cout<<"Enter data: "; cin>>Data; Leer>>Data; Leer.close(); } other way? Help please.
2 Respuestas
0
Maybe data type set to char?)
0
if you want to place the data into a stream you have to first convert it into a character (char) and then you have to pipe otherwise: Leer<<Data