change struct name

This commit is contained in:
OliverLew
2017-05-15 14:12:42 +08:00
parent b8b5df958e
commit bb555fa2f0
+3 -4
View File
@@ -37,11 +37,10 @@
#define MAX 999
typedef struct Node *Node;
typedef struct Member *Member;
typedef struct Child *Child;
struct Node{
int nchild;
struct Member{
int level;
Child child;
};
@@ -54,7 +53,7 @@ struct Child{
int main()
{
int N, M, ID, cID, K;
struct Node nodes[100];
struct Member nodes[100];
struct Child children[100];
/* Read data and initiate a adjacent list */