Cxx API question about SetWireInValue

Hi, In samples “Ramtester” and “DEStester”, we have different formats of SetWireInValue function such as
dev->SetWireInValue(0x00, 0x0002); (In “Ramtester”)
and
xem->SetWireInValue(0x10, 0xff, 0x01); (In “DEStester”)
They have different number of parameters. Could you please explain why? Thanks!

C++ allows functions to have different numbers of parameters.

Methods may be overloaded to provide different functionality depending on which parameters are provided. Methods may also provide “defaults” for parameters which are not passed to the function. If you look at the definition of okCUsbFrontPanel::SetWireInValue in okFrontPanelDLL.h, you will see that this is an example of the latter case.