Browse Source

defined userinput.h

remotes/origin/userinput
TheUltimateOptimist 11 months ago
parent
commit
ed71fb000f
  1. 13
      src/userinput.h

13
src/userinput.h

@ -0,0 +1,13 @@
#ifndef USERINPUT_H
#define USERINPUT_H
char *getstr(char *message, unsigned long *minLength, unsigned long *maxLength);
short gethd(char *message, short *min, short *max);
int getd(char *message, int *min, int *max);
long getld(char *message, long *min, long *max);
long long getlld(char *message, long long *min, long long *max);
unsigned short gethu(char *message, unsigned short *min, unsigned short *max);
unsigned int getu(char *message, unsigned int *min, unsigned int *max);
unsigned long getul(char *message, unsigned long *min, unsigned long *max);
unsigned long long getull(char *message, unsigned long long *min, unsigned long long *max);
double getlf(char *message, double *min, double *max, double *greaterThan, double *smallerThan);
#endif
Loading…
Cancel
Save