diff --git a/README.md b/README.md index 153984e..85a83f4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ datastructure ============= -basic data structure implement \ No newline at end of file +List of Few basics data structure implementation! diff --git a/list/list/list.h b/list/list/list.h index 25f0cbf..4f5071b 100644 --- a/list/list/list.h +++ b/list/list/list.h @@ -1,12 +1,12 @@ //list.h #define MAX_SIZE 100 -typedef struct _myList{ +class _myList{ int value; - struct _myList *next; + _myList *next; }myList; -typedef struct _myQueue{ +class _myQueue{ int node_num; myList *front; myList *rear;