// Stack1.h: interface for the Stack class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_STACK1_H__92E38497_3C43_417C_8DC4_5A1644E66195__INCLUDED_) #define AFX_STACK1_H__92E38497_3C43_417C_8DC4_5A1644E66195__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "Node.h" class Stack { public: Node* Top; Stack(); virtual ~Stack(); set(Node *p_Node1); set(); show(); Stack::push(Node *p_Node1); Stack::concatenation(Node *p_Node1); Stack::reverse(); Stack::remove(int k); Stack::insert(int k, Node *p_Node1); int Stack::sum(); int Stack::count(); Node* Stack::pop(); Node* Stack::bottomCard(); Stack::faceSet(int k); // put on face the k'th card. }; #endif // !defined(AFX_STACK1_H__92E38497_3C43_417C_8DC4_5A1644E66195__INCLUDED_)