This question shows research effort; it is useful and clear
0
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
我的编译器说:保存未声明...我通过“FILE *save”声明它
FILE *save
save = fopen ("filename.txt", "w");
while ( current != NULL )
{
fprintf (save, " %s %s %d", current -> name, current -> tel, current -> age);
current = current -> next;
}