?
=?ISO-8859-1?Q?Andreas_M=FCller?=
Is there a way to determine the size of a file before/without reading
all chars?
for example:
ifstream test("test.txt");
//i need the file size here
while(test.read(buffer,size));
....
//i can get it here but i need to know how often the loop will be executed.
all chars?
for example:
ifstream test("test.txt");
//i need the file size here
while(test.read(buffer,size));
....
//i can get it here but i need to know how often the loop will be executed.