A virtual function is a member function that you expect to be redefined in derived classes. When you refer to a derived class object using a pointer or a reference to the base class, you can call a virtual function for that object and execute the derived class's version of the function.
How much were Union soldiers paid in the Civil War? Three star general $758 per month, two star general $457 per month, one star general $315 per month. Colonels $212 per month, lieutenant colonels $181 per month, majo â¦ rs $169 per month, captains $115.50 per month, first and second lieutenants $105.50 per month.
That is not to say. the average Confederate soldier fought to preserve slavery or the average. Union soldier went to war to end slavery. Some fought on moral grounds. Some fought because they felt their way of life and prosperity were. threatened. Others fought to preserve the Union.