hi, I need to put in 'buffer' ALL content of a file. Is it possibile. Is this faster way to manage a file?
This below should reads 1000 char but I need to read until the EOF. Is there a way?
Qt Code:
char* buffer=0; while ( ifile.get(buffer,1000) ) { cout << " buffer " << buffer << endl; }To copy to clipboard, switch view to plain text mode
Bookmarks