[Solved] Undefined reference to functions in C++ [duplicate]


Try to replace

short RangeCheck(short word, short min, short max);
char* prntword(short word);
bool read(short *data, bool check);

with

short RangeCheck(short word, short min, short max){return 1;}
char* prntword(short word){return 0;}
bool read(short *data, bool check){return 0;}

and it should compile for you (however it may not work as you expect)

solved Undefined reference to functions in C++ [duplicate]