So here's the problem:
When using <fstream> you can do:
And this load up a word in a buffer[], So how can i load up the whole line???Code:#include <fstream>
using namespace std;
void main()
{
char buffer[200];
ifstream fin;
fin.open("blbalba.txt");
fin>>buffer;
}
I need the whole line, Arhghghhhhh!!! :confused: :confused: :confused: