Home > Back-end >  Modify the function of books management system management system, always appear problem, after runni
Modify the function of books management system management system, always appear problem, after runni

Time:09-20

Void Alternum ()
{
//char a, [].
Int a;
Char keynum [3].
The BOOK * p=pBook;//- & gt; Next;
Printf (" \ t \ \ t t please input to modify number: ");
The scanf (" % s ", & amp; Keynum);
While (p=! NULL)
{
If (STRCMP (keynum, p - & gt; Num==0)
{
Printf (" \ t \ \ t t, please input the correct number: ");
The scanf (" % s ", & amp; A);
Strcpy (p - & gt; Num, "a");
return;
}
The else
{
return;
}
P=p - & gt; Next;
}
}
  • Related