vector::_M_range_check You can use the[code]insert[/code]function to add elements. The[code]operator[][/code]and[code]at[/c...
Template Class problems.1st: You should define [code]operator !=[/code]and [code]operator<[/code]for Restaurant and Hotel. ...
Problem with static varibale and default constructor defnied in polymorphic classThe code[code]static int n;[/code]inside the class definition is just a declaration. Static members...
Problem with static varibale and default constructor defnied in polymorphic classYou just declared [code]n[/code]but didn't defined it. You should define it like [code]int Polygon:...
Int's and doubles. The type of the expression [code](3 / 4 * 4 - 21 / 7.0) * 2 + 10 - 3.0[/code] is double.Then the res...
This user does not accept Private Messages