// Since gets() is insecure and produces lots // of warnings, thereofre I use my own input // function instead.char ch;int i;void get_line(char *dst) { char buffer[8]; i = 0; while ((ch = getchar()) != '\n') { buffer[i++] = ch; } buffer[i] = '\0'; strcpy(dst, buffer);}