How can we implement polymorphism in a C++ program that connected to a MS Database(the program is storing the details of employees of a school)
First of all, the question is so amorphous that I'd not even want to become employed at that company. Without a specification of what they want to store (besides employee data), there is no way to define a polymorphic class structure. So, basically, this is not an answerable question. What kinds of employees? IE, are there different classes of employee, and each class has their own table? Do they have a table schema defined?