hiya.,
okey i have this,
ifstream fin("data.dat");
but i'd don't have any idea how big this is so how am i goign to use,
fin.read(...) since ifstream::read(...) wants the size of the bytes to read? same problem with the array size, i have to know much should i create. is there a way to know how big the file is?
many thanks