Sam Finch
Jun 2nd, 2000, 02:34 AM
can you use optional parameters in C++, like in VB
Function MyFunc(Optional Pram As Long = 10) As Long
how would I do that in C++ without overloading, I want to do this for a constructor so I can't call it from overloaded versions, and I have loads of optional params of the same type anyway so It'd make it hard to overload
Function MyFunc(Optional Pram As Long = 10) As Long
how would I do that in C++ without overloading, I want to do this for a constructor so I can't call it from overloaded versions, and I have loads of optional params of the same type anyway so It'd make it hard to overload