很容易看出来的一个错误
puts("add title");
while (count <BKS && s_gets(library[count].title, TITL)
&& library[count].title[0] != '\0')
{
puts("author");
s_gets(library[count].author, AUTL);
puts("value");
scanf("%f", &library[count].value);
count++;//这里应当加一个count++
while (getchar() !='\n')
continue;
if (count < BKS)
puts("enter the next title");
}