Write the definition for a void function called toScreen. The function
toScreen has one formal parameter called fileStream, which is of type
ifstream. The precondition and postcondition for the function are as
follows:
//Precondition: The stream fileStream has been connected
//to a file with a call to the member function open. The
//file contains a list of integers (and nothing else).
//Postcondition: The numbers in the file connected to
//fileStream have been written to the screen one per line.
//(This function does not close the file.)
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here