Answer to Question #239 in C++ for pinky

Question #239
I'm making a student database system in which i hav used two structures i.e
struct student
{
char name[];
int regno;
};
struct course
{
char cname[];
int courseno;
}

Now i want to link the two up by assigning student number 1, course no 1....now how to link the two by making another structure? Plus i'm using filing to make this database.
1
Expert's answer
2010-06-04T06:00:59-0400
General: you want to create many relationships between students and courses , for it you have to:
1 do additional variable - list or array of relationships which make link between student.regno and course.courseno;
2 create link on list of courses in structure student and fill it

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