Dear User
If I am the person who is supposed to work out this question, I will follow in this manner.
First, the user should be prompted for user-login
Once the user enters the user-id, course-name & password, it should eb searched in the User table which was already created by administrator.
Upon found, the user be prompted with a menu for furthur proceedings else an error message be displayed to the user.
The Menu may be something like
Enter table option
Course Details : D
Prerequisite : R
Student : S
Student Passed Courses : P
Student Current Courses : C
Choice : going to read from the user
Again going for one more option from the user
Add : A
Update : U
Search : S
Delete : D
Choice : going to read from the user
Basing on these choices, the file will be opened either in read or in write or in read/write mode to perform the operation.
For this I am giving here the two different programs code one for Linked List and the other for file manipulation.
Hope they will help you. still need any assistance / clarification ? Remember ! CRAMSTER is always there to SOLVE PROBLEMS.
The linked list program
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
File handling program
--------------------------------------------------------------------------------------------------------------------------------------------------------------------