[Message Deleted]
-
ratprita wrote:
An array based employee management system. a.Should have classes like Manager, Engineer to exploit polymorphic features of C++. b.Should keep information like name, salary etc. Designation should not be kept as a member. It should be printed polymorphically. c.Should be a console application d.Should display a list of options when starting the program. Options are Add, List, Search, Delete and Quit etc and implement those features.
Which one of that exactly are you having trouble with?
“Follow your bliss.” – Joseph Campbell
-
ratprita wrote:
An array based employee management system. a.Should have classes like Manager, Engineer to exploit polymorphic features of C++. b.Should keep information like name, salary etc. Designation should not be kept as a member. It should be printed polymorphically. c.Should be a console application d.Should display a list of options when starting the program. Options are Add, List, Search, Delete and Quit etc and implement those features.
Which one of that exactly are you having trouble with?
“Follow your bliss.” – Joseph Campbell
-
ratprita wrote:
i need a sample program, which satisfies these conditions.
In other words, you want your homework done? No, we don't do that here. Point #2 from the guidelines[^]: Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
“Follow your bliss.” – Joseph Campbell
-
You may ask your teacher for... :rolleyes:
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
ratprita wrote:
i need a sample program, which satisfies these conditions.
What about writing one, as you are supposed to do ?
Cédric Moonen Software developer
Charting control [v2.0] OpenGL game tutorial in C++ -
ratprita wrote:
a.Should have classes like Manager, Engineer to exploit polymorphic features of C++.
Here ya go:
class Employee
{
};class Manager : public Employee
{
};class Engineer : public Employee
{
};I'll let you fill in the blanks!
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons