Browse Source

implemented getld

remotes/origin/userinput
TheUltimateOptimist 11 months ago
parent
commit
3a00cb92d1
  1. 6
      src/userinput.c

6
src/userinput.c

@ -172,4 +172,10 @@ int getd(char *message, int *min, int *max) {
LD(min)
LD(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);
}
Loading…
Cancel
Save