In C Just Write The Methods List S Big Three Need To Do Something In The Constru

List’s big three: Need to do something in the constructor, and need to handle all the dynamic memory made when adding nodes.

PushFront: Add a new node as the new first piece of data. Do NOT add anything before Head.

PopFront: Remove the first piece of data if there is one.

Front: Return the first piece of data.

*Back: Those same three, except to the end. Do NOT add anything after Tail.

Size: How many things.

Clear: Remove all data, leave head and tail.

At: Return data at that position. 0 is first data

Erase: Delete the node at this iterator, if it exists

Insert: Insert data after this iterator. Do not allow inserting after tail!

Begin: Iterator to first data

End: Iterator after last data (remember Unspecified Behavior)

Iterator::GetData: Return the T from this node

Iterator::Next: Move iterator to the next node

Iterator::IsEqual: Are these pointing to the same node?

list.h

#pragma once

template <typename T>

class List

{

struct ListNode

{

ListNode()

{

}

T mData;

ListNode *mPrev;

ListNode *mNext;

};

ListNode *mHead;

ListNode *mTail;

public:

List()

{

// Getting Head and Tail correct is not part of the Big

3. It is hella mega required no matter what.

//mHead = nullptr;

//mTail = nullptr;// bleh. Full of crash.

mHead = new ListNode;

mTail = new ListNode;

mHead->mNext = mTail;

mHead->mPrev = nullptr;

mTail->mPrev = mHead;// This RULES. We always know we

have 2 nodes, so we never have to check for null.

mTail->mNext = nullptr;

}

List(const List & tOther)

{

}

List & operator = (const List & tRHS)

{

}

~List()

{

}

void PushFront(const T &tWhat)

{

}

void PopFront()

{

}

T& Front()

{

}

void PushBack(const T &tWhat)

{

}

void PopBack()

{

}

T& Back()

{

}

int Size() const

{

}

void Clear()

{

}

T& At(int tWhere) const

{

}

///////////////////////////////////////////////////////////////////

// Iterators

class Iterator

{

ListNode *mCurrent;

public:

Iterator(ListNode *tStart)

{

}

T& GetData()

{

}

void Next()// As in “Move to the next item please”.

{

}

bool IsEqual(const Iterator &rhs)

{

}

};

Iterator Insert(Iterator tWhere, const T &tWhat)

{

}

Iterator Erase(Iterator tWhat)

{

}

Iterator Begin()

{

// First good data

}

Iterator End()

{

// First Bad data

}

};

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

In Chapter 10 Of The Book The Fifth Discipline We Are Introduced To Peter Senge

In chapter 10 of the book The Fifth Discipline we are introduced to Peter Senge’s concept of “Shared Vision.” How does he describe shared vision ?

Senge’s message is that mental models are images of how the world works and also all thefamiliar thoughts that come to one’s mind regarding the process of being familiar .this is calledas the…

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

In C Explain The Properties And Limitations Of Integer And Floating Point Number

In C++: Explain the properties and limitations of integer and floating-point numbers.

In c++ integer is the most common data type which is used for storing the number values,the integer is the data type which is provided in c++ for storing the numeric data. Thiskind of data type…

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

In Chickens Most Individuals Have Unfeathered Shanks When They Are Homozygous Fo

3. In chickens, most individuals have unfeathered shanks when they are homozygous for recessive genes at two loci. The presence of a single dominant allele at either loci causes feathers, If chickens heterozygous at both loci are crossed, what proportion of offspring are likely to be unfeathered? (2) What genetic phenemonen is illustrated by this trait? (1)

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

In Chemistry 110 In Regards To Caffine Lab Why Does Caffine Leave Water And Move

In Chemistry 110 in regards to caffine lab. Why does caffine leave water and move to dicholormethane? Is oil on clothes soluable in dry cleaning solvent? Does oil dissovle in water

what purpose does detergent serve?

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

In Charles Mann S Article Discovering The New World Colombus Created He Claims T

In Charles Mann’s article, “Discovering the New World Colombus created”, he claims that there was not a discovery of a new world, but rather the creation of one. His main emphasis was on food and how the spread of different plants and foods has had great cultural and ecological global impacts. He argues that globalization in this sense is positive because of increased trade but negative due to the harmful effects it has on the environment. What is your stance on globalization and its affect on the environment? Is there a way to have the best of both worlds in terms of free trade and conserving natural resources? How do you think we should consider these environmental consequences when making consumer decisions?

Plz do not copy articles on the website!!!

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

In Chapters Three And Four Of Women Counseling Women Fitzpatrick Discusses The I

In chapters three and four of Women Counseling Women, Fitzpatrick discusses the importance of interpreting Scripture correctly.  What do we risk if we misinterpret Scripture?  Give and discuss three principles for interpreting the Bible correctly.

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

In Chapters Three And Four Of Women Counseling Women Fitzpatrick Discusses The I 1

In chapters three and four of Women Counseling Women, Fitzpatrick discusses the importance of interpreting Scripture correctly.  What do we risk if we misinterpret Scripture?  Give and discuss three principles for interpreting the Bible correctly.  

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

In Chapter Three Of Making Connections Understanding Interpersonal Communication

In Chapter Three of Making Connections: Understanding Interpersonal Communication, the author lays out many psychological concepts concerning the “self.” How do all these concepts relate to interpersonal communication? Also, give an example of how your “self-concept,” “self-image,” or “self-esteem” has affected your interpersonal communication.

In Chapter Three of Making Connections: Understanding Interpersonal Communication,the author lays out many psychological concepts concerning the “self.” How do all theseconcepts relate to…

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

In Chapter Seven 7 We Have Learned From The Path To Information Value That Seven 1

In  chapter seven (7), we have learned from “The Path to Information Value”  that Seventy percent of managers and executives say data are “extremely  important” for creating competitive advantage.

In  addition, it is implied by the authors that, “The key, of course, is  knowing which data matter, who within a company needs them, and finding  ways to get that data into users’ hands.”

Looking at the Economist Intelligence Unit report, identify the three (3) phases that led to the yard’s rebirth. 

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW