deprecated functions in c


Author: yifei / Created: May 29, 2017, 9:09 a.m. / Modified: May 29, 2017, 9:09 a.m. / Edit

sprintf --> snprintf gets --> fgets strcat --> strncat strcpy --> strncpy

strtok函数用于分解字符串,需要一个变量保存内部分解进度 strtok_r是它的可重入版本


评论区