Browse Source

implemented getlld

remotes/origin/userinput
TheUltimateOptimist 11 months ago
parent
commit
501bedbf87
  1. 6
      src/userinput.c

6
src/userinput.c

@ -179,3 +179,9 @@ long getld(char *message, long *min, long *max) {
LD(max) LD(max)
return getNumber(message, minld, maxld, NULL, NULL, LONG_MIN, LONG_MAX); return getNumber(message, minld, maxld, NULL, NULL, LONG_MIN, LONG_MAX);
} }
long long getlld(char *message, long long *min, long long *max) {
LD(min)
LD(max)
return getNumber(message, minld, maxld, NULL, NULL, LLONG_MIN, LLONG_MAX);
}
Loading…
Cancel
Save