adding cs235
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#include "Factory.h"
|
||||
#include "linkedlist.h"
|
||||
|
||||
//You may add #include statements here
|
||||
|
||||
/*
|
||||
You will MODIFY THIS DOCUMENT.
|
||||
*/
|
||||
//=======================================================================================
|
||||
/*
|
||||
getLinkedList()
|
||||
|
||||
Creates and returns an object whose class extends LinkedListInterface.
|
||||
This should be an object of a class you have created.
|
||||
|
||||
Example: If you made a class called "LinkedList", you might say, "return new LinkedList();".
|
||||
*/
|
||||
LinkedListInterface * Factory::getLinkedList()
|
||||
{
|
||||
return new linkedlist();//Modify this line
|
||||
}
|
||||
Reference in New Issue
Block a user