940216td
asked on
Create componenets, classes
I gotta write a program to enroll students, print listings
,... Should I create my own components, classes??
How??
,... Should I create my own components, classes??
How??
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanx a lot, I'm going to study this proposal now and see where it gets me. I hope you can help me more if I'm stuck.
No problem.
In the CCourse class....
Students and WaitList would be TLists holding items
of type CStudent.
PreReqs would be a TList of type string...something
that would match the Name property in another CCourse
object.
In CStudent....
Courses would be a TList holding data of type CCourse.
Though a string matching a Name in a CCourse object
would be fine too.
These classes are rough and are off the top of my head.
They are not complete and they may not be the best design.
But hopefully I've got you going in the right direction.
I presume this is for a school project? You name here
looks like a student number...like the type they give
Comp students at universities and such.
Cheers,