You are viewing a single comment's thread. Return to all comments →
Poorly specified: the problem statement does not say whether Student and Professor ids are drawn from the same sequence or two different sequences.
Memory leak in function main() as objects are created with operator new, but not deleted.
Seems like cookies are disabled on this browser, please enable them to open this website
Virtual Functions
You are viewing a single comment's thread. Return to all comments →
Poorly specified: the problem statement does not say whether Student and Professor ids are drawn from the same sequence or two different sequences.
Memory leak in function main() as objects are created with operator new, but not deleted.