Курсовая работа: Інформаційно-довідкова система 2
if (q->right!=NULL) q->right->left = q->left;
if (q==a->head) a->head=q->right;
if (q==a->tail) a->tail=q->left;
delete q;
a->current = a->tail;
break;
}
a->current=a->current->right;
}
cout << "\n Zapis bila udalena.";
getch();
break;
case 9:
cout << "\n Poisk obyekta s minimalnim kl-vom trekov v zadannom diapazone let";
cout << "\n Vvedite leviy predel poiska(god): ";
int godL,godR;
cin >> godL;
cout << "\n Vvedite praviy predel poiska(god): ";
cin >> godR;
Tool *k;
k = zadacha(a,godL,godR);
if (n==NULL) cout << "\n Zapis ne naidena.";
else
{
cout << "\n Zapis bila naidena.";
caption();
k->d->output();
}
getch();