Follow the instructions to do the code

 the modification only in  faculty.h and faculty.cpp. don’t do any changes in the rest of the other files. 

1- The declaration of the Faculty class has been changed, in the private area, to use a std::list instead of an array as its implementing data structure.

Your task is to follow through on that change, making the necessary alterations to faculty.h and faculty.cpp to make this a working class. The necessary changes have already been made to the unit tests, the Department class, and to the main printSchedule.cpp application.

2- The major difference between lists and the earlier sequential structures that we have looked at is that elements are accessed via iterators instead of integer-based indices. Accordingly, you will need to

a.  rewrite the indexing-based code in faculty.cpp with iterator-based code.

b.  Remove the indexing-based getSection function from faculty.h and add appropriate declarations of iterator and const_iterator types and associated functions allowing access to a Faculty object’s sections.

3- To improve the usability of the Faculty class, you will also need to add

a. A constructor to allow Faculty objects to be constructed from a course name and a pair of iterators denoting a range of Section values in some arbitrary container.

b. A constructor to allow Faculty objects to be constructed from a course name and an initializer_list of sections.

4- Your code will be evaluated both on its ability to function correctly within the printSchedule application and on its ability to pass the various unit tests provided.

· In the test report, tests 0…7 test the printSchedule application. Tests numbered 8…25 check the unit tests.

a. Each even-numbered test checks for correct behavior of the code.

b. Each odd-numbered test checks to see if that same behavior is correct and entails no memory leaks or other common pointer/memory handling problems.

Get 20% Discount on This Paper
Pages (550 words)
Approximate price: -

Try it now!

Get 20% Discount on This Paper

We'll send you the first draft for approval by at
Total price:
$0.00

How it works?

Follow these simple steps to get your paper done

Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

Our Services

Academic Solvers has put together a group of highly qualified writers with a wide range of expertise in the online writing community. Our goal is to become your one-stop shop for all academic and online writing needs. Take a look at our fantastic service below!

Editing

Research Paper Editing

At Academic SolversEditing your research paper could prove to be difficult especially amidst the tight schedules that students have. At academicsolvers.net, we offer research paper editing services. The services include proofreading and use of online platforms such as Grammarly and Turnitin to address any concerns that may arise within the paper. Get our services and you will have satisfactory results.

Research Paper

Custom Research Paper

Writing a research paper could be quite hectic especially if it is your first time. Identifying the research topic, finding the references and interpreting information could pose significant challenges. However, this should not be issues of concern anymore. At academicsolvers.net, we offer solutions to research papers. We deliver plagiarism free and quality research papers that are customized to suit your needs.

Editing

Online Proofreading

Despite writing expertise and skills, you are never guaranteed of error free papers. Academic solvers’ online proofreading services leaves no mistake unaddressed. We go through your paper using a variety of online tools that help to ensure that we edit your paper and make it error free. We have collected a group of experts hence can guarantee quality proofreading services.

Coursework

Cheap Research Papers

Do you have difficulties writing your research paper? Are you afraid of the cost of hiring a professional to write your research papers? Worry no more. At academicsolvers.net we address both of your problems. We are equipped with a large number of professional writers. Second, we offer our research paper writing services at cheap prices that are largely affordable. Don’t miss this chance. Order our cheap research papers today.

Coursework

College Assignment

College assignment could be one of the biggest challenges to students especially working with tight schedules. Academicsolvers.net acts to bridge this gap existing between getting satisfactory grades and meeting deadlines. Our college assignment professionals provide students with quality, plagiarism free and confidential assignment help that helps them to achieve desired grades and outcomes.

Coursework

Essay Help

Essays are some of the most critical elements in the academic life of a student. At academic solvers we prioritize providing quality essays. As such, our professional ensure that they address issues of grammar, structure and plagiarism to provide essays that meet the need of the client. Here, we focus on developing content that aims at addressing the subject in question through the expertise of our professional and experienced writers. Try our services and we guarantee succes.