Web programming

Continuation with the previous Lab 2 myOhlone, create an object-oriented programming (OOP) program that manages myOhlone. In this lab exercise, you write the definition of the class template OrderedArrayListType derived from the class template ArrayListType and implement an ordered list and all the virtual functions.1) Complete the template implementationtemplateclass OrderedArrayListType: public ArrayListType{public:virtual void insertAt(int location, const elemType& insertItem);virtual void insertEnd(const elemType& insertItem);virtual void replaceAt(int location, const elemType& repItem);virtual int seqSearch(const elemType& searchItem) const;virtual void insert(const elemType& insertItem);virtual void remove(const elemType& removeItem);orderedArrayListType(int size = 100);//Constructor};Replace all use of vectors from Lab 2 to OrderedArrayListType- OrderedArrayListType *list;- OrderedArrayListType users;- See faculty_data.csv Download faculty_data.csv (Click to download)- OrderedArrayListType faculty;- See student_data.csv Download student_data.csv (Click to download)OrderedArrayListType students;2) Add class DataException for try and catch; and handle the input file and login- Prompt user for input file name instead of hard coded (default input file, student_data.csv, faculty_data.csv, users.csv, etc.)- handle exceptions open file (see discussion for example)Hint for try-catch:intmain () {bool b = false;do {cout name;try {file.open(name);b = true;} catch() {b = false;}} while (b)return 0;}

Last Completed Projects

topic title academic level Writer delivered