Question: void Add ( string t , martry a , vector p ) { node * N = new node; N - > location = t;
void Addstring t martry avector p
node N new node;
Nlocation t;
NName.pushbackap;
NDate.datepushbacka p;
InsertInOrderalocation;
if cursor
cursor N;
Nnext N;
Npre N;
else
Nnext cursornext;
cursornext N;
Npre cursor;
Nnextpre N;
n;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
