Describe two methods to determine the end of an input file; which one should be used and why?

Part I 

 

Q1: Name at least three member functions of an iostream object and given an example of usage of one?

 

Q2: Describe two methods to determine the end of an input file; which one should be used and why?

 

Q3: What is a Manipulator? Give an example.

 

 

 

PART II:

 

 

Write a 2 page research paper on streams and file I/O.  Explain the concepts using at least one example. Use three resources (Wikipedia sources are not permitted) and list each resource used at the end of paper in the reference list section.