Here i used the class FileStream and the function file.Read();
To do this i had to do modifications in the header file stream.h
I changed the Class FileStream member function Read(); from Protected to Public.
But can i achieve the samething using class FileIn and its function Get();
I tried with the below code but did'nt get the incrementing pipe reading but got only a constant value repeating.