What is the main different of these 2 and why doesn't the second one work when like this?
template <class T> MyStack<T>::Node::Node(T& input, Node* head):next(head),value(input) {}
template <class T> MyStack<T>::Node::Node(T& input, Node* head) {next = head; value = input;}
My guess on why the second one doesn't work, is because it has nothing to assign variable when initializing.