|
@ -172,4 +172,10 @@ int getd(char *message, int *min, int *max) { |
|
|
LD(min) |
|
|
LD(min) |
|
|
LD(max) |
|
|
LD(max) |
|
|
return getNumber(message, minld, maxld, NULL, NULL, INT_MIN, INT_MAX); |
|
|
return getNumber(message, minld, maxld, NULL, NULL, INT_MIN, INT_MAX); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
long getld(char *message, long *min, long *max) { |
|
|
|
|
|
LD(min) |
|
|
|
|
|
LD(max) |
|
|
|
|
|
return getNumber(message, minld, maxld, NULL, NULL, LONG_MIN, LONG_MAX); |
|
|
} |
|
|
} |