|
-
July 20th, 2010, 06:57 PM
#1
Creating a tree of vectors
I understand the assignment for the most part, but I have never heard of creating a tree of vectors. After searching online I found someone asking the same question in another forum, but not getting any responses. I don't need code necessarily, just some advice on how to approach this. Thanks.
A registrar gives you a task of developing a data structure so that a student registration
information such as enrollment date, name, enrollment status (enrolled, withdrawn), submitted
fee (full, partial, none), grade (‘A’, ‘B’, ‘C’, ‘D’, ‘F’) can be inserted and deleted by giving the course
number and the social security number of a student. You ask professor Bansal, and he tells you to
create a search-tree of vectors (arranged by course-number) where each tree node contains the
course number and a pointer to the corresponding vector. Each vector contains the information
about the students. Each vector node is a struct containing following fields: (social security
number, name, enrollment date, enrollment status, submitted fee, and grade). Write a program
library to perform the following operations:
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|