Given the following student data (code, number, first name, last name, mark):
CSC10208
1
Fred
Nurks
50
ISY00245
4
Fred
Bassett
75
Write a program to open a file, accept data in the above format using a struct, write the data to the file and then close the file. Your program should then open the same file, load the data into a struct, display the value of each member of the struct and then close the file. If you wish you may use an array of records when loading the data from the file

Recommended Answers

All 2 Replies

What do you need help with? Are you expecting someone to write this code for you?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.