[Solved] Object calls function without arguments to a function that requires an argument [closed]


If the float is uninitialized when the member function is called, the default value used in the prototype will be assigned to it. If that float has a value when the member function is called, the default is ignored.

solved Object calls function without arguments to a function that requires an argument [closed]