Startpunkt
This commit is contained in:
15
defs.h
Normal file
15
defs.h
Normal file
@@ -0,0 +1,15 @@
|
||||
const int BUFFERSIZE = 100; //f<>r s<>ker inmatning
|
||||
const int NAMESIZE = 8; //f<>r MS-DOS 6.0
|
||||
#define FALSE 0
|
||||
#define TRUE !FALSE
|
||||
|
||||
typedef int dataType; //s<>tter datatypen
|
||||
struct treeNode; //f<>rvarnar datorn om en struct
|
||||
typedef treeNode *ptrType; //ger en pekartype till en struct
|
||||
struct treeNode //en nod i tr<74>det
|
||||
{
|
||||
dataType data;
|
||||
ptrType left;
|
||||
ptrType right;
|
||||
treeNode(dataType item, ptrType left, ptrType right);
|
||||
};
|
||||
Reference in New Issue
Block a user