// #include <iostream> // OK
// using namespace std; // OK
#include "UnsortedList.h"
// using namespace std; // OK
// #include "ItemType.h" // NO

// Driver Program

int main()
{
	//ItemType a(23,95,"Iyad Abu-Jeib");
	UnsortedType u;
	bool b = false;
	ItemType t(1,1,"Iyad"),f(12,99,"Chris");
	//t.set(11,99,"Iyad");
	u.insertItem(t);
	t.set(11,11,"Mary Smith");
	u.insertItem(t);
	t.set(111,111,"Mike Lewis");
	u.insertItem(t);
	cout << u.lengthIs() << endl;
	//f.set(11,0,"");
	u.retrieveItem(f,b);
	if (b)
		cout << "Found" << endl;
	else
		cout << "Not Found" << endl;

	u.resetList();
	//u.getNextItem(f);

	return 0;
}
