Example #1
0
int main() {

	cell firstCell(3);
	cell *nextCell;
	cout << firstCell.value << "\n";

	cell secondCell(2, *nextCell);
	cout << secondCell.next << endl;

	cell thirdCell(firstCell);
	cout << thirdCell.value << "\t" << thirdCell.next << endl;

	cell fourthCell = firstCell + secondCell;
	cout << fourthCell.value << endl;

	myQueue.pushLast(2);
	cout << myQueue.last << "\n";
}