If once the file pointer is proceded forward during reading successively,the characters can be read well but when it is taken back bu using seekg() with appropiate parameters the file characters cannot be read properly,giving garbage values.The problem is tried on Visual C++ 6.0 and Borland C++ 4.5.