Курсовая работа: Інформаційно-довідкова система 2
a->current->d->input();
break;
}
a->current=a->current->right;
}
cout << "\n Redaktirovanie uspeshno zaversheno.";
getch();
break;
case 7:
cout << "\n Vstavka novoi zapisi ";
cout << "\n Vvedite tip novoy zapisi [0..2]: ";
int p = 0;
cin >> p;
a->current=a->tail;
a->add(p,1);
cout << "\n Vstavka zapisi uspeshno zaversena.";
getch();
break;
case 8:
cout << "\n Udalenie zapisi ";
cout << "\n Vvedite nomer zapisi dlya udalenia: ";
int j = 0;
cin >> j;
a->current=a->head;
for (i=0;a->current!=NULL;i++)
{
if (i==j)
{
Tool *q = a->current;