function it add \n automatically to the end of the string. But i don't need that \n because of that \n i comparing the strings returns wrong results. Is there any fix or any function similar to fgets ?
buff[strlen(buff) - 1] = 0;
Обсуждают сегодня