我只会做这一点点……

void Tus_delete()
{
int num;
int no;
char i;
for(no=0;no<=num;no++)
{
out<<"\t\t\t请输入要删除图书的编号:";cin>>no>>endl;
if(no==NULL)
{
cout<<"\t\t\t库中无此编号图书,请重新输入!"<<endl;
}
else
{
cout<<"\t\t\t确定删除编号no所在图书信息?\n\t\t\t\tYorN"<<endl;
cin>>i>>endl;
cout<<"\t\t\t\t已删除!"<<endl;
}
}
}
感觉完全不能实现啊

大神们求救啊!!!!!!!