Thank you for your response... but to be more clear I will say two things...
1. We haven't started on templates yet...
2. Here is the site that explains what I need to implement... I'm not clear on what it's asking.
http://people.eecs.ku.edu/~jvalland/...structions.pdf
It's like real life... you have a portfolio that has a list of stocks in it... I'm just trying to make sure we're all clear on this. But thanks for your response.
But I will try to interpret your response...
"class LinkedList" == Portfolio?
"T data" == Stock, as T can be any type? is this right?
oh and instead of "class Node", the assignment actually specified a structure... I guess that would be a little simpler than calling it "class Node".
In fact... this assignment is so confusing I really have no clue whatsoever he wants... it gives an example input file of stocks and whether to buy or sell them... but this whole transaction class seems so unnecessary... couldn't you just buy and sell each individual stock, maintain a portfolio of what stocks have been touched, and sum up the money buy/sell totals? I guess the transaction list is just something to keep track of the buy and sell actions?