Use random-access file for reading and writing a List of 5 DVDs. The DVDs have 4 attributes: name, length of film, main actor name, and MPAA rating. Assume the sizes of the name, length of film, main actor name, and MPAA rating are 32, 5, 32, and 2 bytes, respectively.
Write the DVDs using a random-access file named unit08p2.dat. In the same program, write the code to read and display the data.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here