Question: void Add ( string t , martry a , vector p ) { node * N = new node; N - > location = t;

void Add(string t, martry a,vector p)
{
node* N = new node;
N->location = t;
N->Name.push_back(a,p);
N->Date.date_push_back(a, p);
InsertInOrder(a.location);
if (!cursor)
{
cursor = N;
N->next = N;
N->pre = N;
}
else
{
N->next = cursor->next;
cursor->next = N;
N->pre = cursor;
N->next->pre = N;
}
n++;
}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!