write a main function that opens an ifstream


 Write a main function that opens an ifstream on the input file, "person.dat".  If the stream cannot be  opened, output an error message and exit.
 
    The file format is as follows:

     last_name comma first_name comma weight newline

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: write a main function that opens an ifstream
Reference No:- TGS0210737

Expected delivery within 24 Hours