Register | Sing In

New posts

Stacks in C programming Linked Lists in C programming File Input/Output in C programming Check prime numbers in C Programming C Programming Enumeration C Programming Union

Archives

2013-10 2013-09 2013-08

q

April 5, 2015 Posted by: dana Views: 353

The assignment focuses on constructing an linekedList described in your text book.DESCRIPTIONImplement the linkedList given in the class add the following member functions tothe class:Note: the list should be of type character. (2 pt) replaceChar(char c1, char c2), replace all occurrences of c1 byc2 in the list.List1 before call [A][C][V][C][F][R][C][B][C][]list1.replaceAll(‘C’, ‘A’) will result inList1 After call [A][A][V][A][F][R][A][B][A][] (2 pt) countChar(char), counts how many times a specific character foundin the list. (2 pt) retrieveAt, retrieve the characters in the specified location. Startcounting from 0. (4 pt) Implement a non-member function that will receive two lists L1 andL2 and insert all characters in L2 greater than ‘K’ to L1.GRADE SHEET Take care of documentationo All function definitions have comments before themo Meaningful variable names and every variable has a comment before ito Any syntax error, Grade = 0; If code has NO ERRORS and compiles andcode is implemented using Header and CPP files: See the point distribution above.TEST CODE (-10 pts if not exist)int main(){cout<<"Write your main() function to test ALL functions. " <<"We will run your code using YOUR AND OUR main()."<<endl;return 0;} 

Best Answer

No answer

Online Chat

LiveZilla Live Help

Popular posts

Function strtok in C programming Check prime numbers in C Programming C Programming Union Linked Lists in C programming File Input/Output in C programming C Programming Enumeration

RSS-subscribe

New materials

Subscribe