hello there,
Can anyone plz guide me how to calculate the sise of a string present in an opened file.
we already have the file descriptor, inputFile. but when i try to do
begin=inputFile .tellg();
inputFile.seekg (0,ios::end);
end=inputFile.t ellg();
size=end-begin;
it doesnt work in C. It does work in C++ though.
Can u plz give me some C alternative for the above.