Homework 11 Solution

$35.00 $30.80


Double click the downloaded zip file.

Highlight the contents and Press <ctrl>-C or click copy from the home tab menu


Browse to your homework repository and paste the contents there.


Right click in the contents window and select paste

Click copy from the home tab menu.


Change into this folder and open hw11.sln

You will be writing your code in the hw11Double.cpp. Hw11.cpp contains the tests for your code and the doubly linked list class functions


This project uses the 64bit version only. If you are getting message the x86 is not compatible with x64 you will need to change to 64bit in the configuration manager. ( Build à Configuration Manager).


Functions: There are 4 functions that you must rewrite by Tuesday at noon. You must have it pushed to your repository.


  • Remove – by value
  • Remove – by position
  • Find – search moving forward
  • Rfind – search moving backwards


Work on one function at a time. You will need to filter the tests being run by using visual studios command line options.

  • Enter “Remove – Value*”
  • Enter “Remove – position*”


Enter “Remove*” to test both removes when both are written

  • Enter “find*”
  • Enter “rfind*”


The order of rewriting the functions can make your life easier. Do them in the order listed in functions.

Think about them. Do not drop to the command line to run the program.


You will need to delete the word “UNSORTEDDOUBLE_API” from in front of the function in the unsortedDouble.h file.

Then write the function for this function. This will execute your function rather than the function within the DLL.




The first function you should write is the constructor unsortedDouble()

In the header file, delete UNSORTEDDOUBLE_API from the constructor prototype.

Should look like the following

































Place the correct filter for which tests to run in the command line options within visual studio.


Now write your code in the file hw11Double.cpp



















You can download the documentation for each of the function from d2l.

Do not place it in the repository.

Unzip the file “Double.zip” that was downloaded. This has been updated.

Copy the directory to your desktop (Not the repository)

Open this directory and double click the index.html file.



WARNING: Be careful calling other functions. To remove from position 1, if you call pop_front, it will call your remove function and you could end up with each function calling each other.