Answer to Question #52336 in C++ for Stanley

Question #52336
Write a program that maintains a binary random-access file students.dat to store data about students. For each student store an integer student ID, name, the current number of points earned (an integer), and the current GPA. The student ID number should be the sequence number of the record in the file. Your program should allow the user to do the following:
• initialize the file students.dat to 100 empty records,
• input the data concerning each student (you can implement either reading from the keyboard, or sequentially from a text file)
• list all students,
• delete a record for a student,
• update any information in the file.
For input and output overload the operators >> and <<. Use the tool identification number as the record number in the random-access file
0
Expert's answer

Answer in progress...

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS