hi, sorry my english
im using visual studio 2005, my project is in win32 console application
im training to use files, my problem is that i cant do a ifstream get all stuff of a .txt file, it get just the first line, i can do put all in the same line, but i want let the .txt file 'well', not all confuse...
here the part of the code:
...
char txt_records[1000];
ofstream file_records_writin("records.txt");
file_records_writin<<"\t\t\t\t\tRECORDS\n"<<"name-------------------------------time\n\n"<<endl;
file_records_writin.close();
ifstream file_records_readin("records.txt");
file_records_readin>>txt_records;
cout<<txt_records;
...
all it shows is a "RECORDS" in the midle of the screen..
what i have to do to it show all stuff? ( cause it DO write every thing in the .txt file, i verified)