C/C++ reference: http://www.cppreference.com/

Reference for file I/O

Laboratory 7: Assignment 2 Basic Class Preparation

In this lab, you will implement some classes useful for Assignment#2.
You will complete parts of a program that continuously asks the user for a byte offset and reads a record from the datafile studentfile.txt that starts at the given byte offset.
In order to test your program you will need to provide valid byte offsets.
You may use byte offset 0,  and use counting plus trial-and-error to provide other valid byte offsets (You will notice that you are off, if part of a last name gets cut. If you are too off, then you may get a run time error, so be careful).
YOUR TASK


        Code you can use for this lab and for Assignment 2:


NO SOLUTION PROVIDED


We will not provide solutions for Lab 7, as it is part of A2.