structs and classes problem!!!!
hi, i am trying to write a program, using classes and structs and inheritence…
the program kind of represents a university system where tutors teach only specific modules and students are only enrolled on specific modules.
To store information about students and their modules.
the user is prompted to enter the number of modules they undertake and then according to the number they enter they get the option to store information about these modules.
for example if user enters 1 module only 1 struct is called to store the information
but if user enters 3 modules, the program should allow three struct objects to be entered..
i can’t get three structs to come if the user enters three….
and is using classes and struct the best option to solve this problem?
any help please….