// Node.h: interface for the Node class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_NODE_H__963BE7E4_8F6B_11D7_8B8F_00E0187AA0B7__INCLUDED_) #define AFX_NODE_H__963BE7E4_8F6B_11D7_8B8F_00E0187AA0B7__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #define TITLE_DIM 15 class Node { public: Node(); virtual ~Node(); Node::Node(int color1, int shape1, int tag1, int value1, char title1[15]); int tag; char title[15]; // example: King Club int value; // 1-13 Ass=1, King=13 int color; // 0-red, 1-black int shape; // 0-Diamond 1-Heart, 2-Club, 3-Spade Node* next; // Next card Node::operator=(Node node1); Node::show(); }; #endif // !defined(AFX_NODE_H__963BE7E4_8F6B_11D7_8B8F_00E0187AA0B7__INCLUDED_)