Answered step by step
Verified Expert Solution
Question
1 Approved Answer
can anyone give me a hint how can i implement this. i have implemented the insert. check if it is right or not. and show
can anyone give me a hint how can i implement this.
i have implemented the insert.
check if it is right or not. and show me how can impliment the rest.
can you please do the remove part. i need you do remove by sector, exposure , and speed.
syccuxas01.pcc.edu - PUTTY #ifndef LINKED LIST #define LINKED LIST #include STream #include "surveydata.h" class linkedlist public: linkedlist (); linkedlist (const linkedlists alinkedlist); -linkedlist (); const linkedlists operator= (const linkrdlists alinkedlist); int getcurrentsize (void) const; bool isEmpty () const; bool find (int); void insert (int, int, int); void removeSector (int); void clear (); bool contains (const....) const; int getFrequencyof (const...) const; vector toVector () const; void printReport (datalogger &dLogger, char*lable); void printSectorList (datalogger &dLogge): friend std::ostreams operationdata.sector > sector) curr = curr-> next_by_sector; node* curr - head_by_exposure; while (curr !- NULL &6 curr->data.exposure > exposure) curr - curr-> next_by_exposure; node* curr - head_by_speed; while (curr !- NULL 64 curr->data.speed > speed) curr - curr-> next_by_speed; linkedlist::linkedlist remove (int sector, int exposure, int speed) node* newnode - new node (sector, exposure, speed) ; //remove by sector node* curr - head_by_sector; while (curr) void printReport (datalogger idLogger, char*lable) for example
the text file is
(sector, exposure, speed)
12, 34,56
34,45,56
45,34,89
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started