+ 10

Which data type is used to mark the absence of parameter??

Java or c++ or python

27th Jun 2019, 8:22 PM
vikram Kumar
vikram Kumar - avatar
6 ответов
+ 3
C++?
28th Jun 2019, 1:47 AM
vikram Kumar
vikram Kumar - avatar
+ 2
In what language?
27th Jun 2019, 10:23 PM
Ryan
Ryan - avatar
+ 2
In C++ there is no None value, so you have to use a suitable default values for the default parameter and check in the function wheather the value of the parameter is the the choosen default value which shows you the absence of this parameter. Maybe there is a better way in the latest C++ 20 (or so), I have switched to Python for 10 years, which is more convinent for my purpose.
28th Jun 2019, 9:39 PM
Manuel Maier
Manuel Maier - avatar
0
Hello i dont inclouding the floats if you can help me
8th Jul 2019, 8:28 PM
Akli Benamar
0
Including? Floats? Please explain more clearly which problem you have. Maybe you have code which does not work, in this case please post it else it is impossible to help you.
8th Jul 2019, 9:53 PM
Manuel Maier
Manuel Maier - avatar
0
Absence of parameter is not a value therefore it doesn't need data type, it is just a keyword of "undefined" or "null".
17th Aug 2019, 11:57 PM
Al-Amin Rais
Al-Amin Rais - avatar