|
@ -166,4 +166,10 @@ short gethd(char *message, short *min, short *max) { |
|
|
LD(min) |
|
|
LD(min) |
|
|
LD(max) |
|
|
LD(max) |
|
|
return getNumber(message, minld, maxld, NULL, NULL, SHRT_MIN, SHRT_MAX); |
|
|
return getNumber(message, minld, maxld, NULL, NULL, SHRT_MIN, SHRT_MAX); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
int getd(char *message, int *min, int *max) { |
|
|
|
|
|
LD(min) |
|
|
|
|
|
LD(max) |
|
|
|
|
|
return getNumber(message, minld, maxld, NULL, NULL, INT_MIN, INT_MAX); |
|
|
} |
|
|
} |