Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~183 People Reached
Favorite Forums
Favorite Tags
c++ x 1
Member Avatar for gammavn

I meets some problem with downcast in c++ programming language. Thus, I needs your help. My program has 5 classes. They are Employee (abstract class),Salary:public Employee,Hourly:public Employee,Commission:public Employee and BasePlusCom:public Commission. In main() function,I used vector<Employee*>employees[4]; Then I assigned values to employees. ........ And I used structural syntax BasePlusCom* ComPtr=dynamic_cast<BasePlusCom*>(employees[i]); …

Member Avatar for vijayan121
0
183