gets is still defined in <stdio.h>, make sure you include it. Also gets should never be used anymore. It is deprecated and dangerous function, leads to buffer overflow, makes your app vulnerable.
now any other function
Yes, fgets should be used instead.
Обсуждают сегодня