warning: implicit declaration of function ‘gets’; did you mean ‘fgets’?

[转载一篇关于C的字符串的文章]
https://blog.csdn.net/weixin_43888800/article/details/111679493
该文章针对C语言编译警告:
warning: format ‘%s’ expects a matching ‘char *’ argument [-Wformat=]

你可能感兴趣的:(C/C++)