Commit 2dd9e6b0 authored by William Sha's avatar William Sha
Browse files

Added test for initialization of a list

parent dd447e85
......@@ -13,6 +13,11 @@ int main()
printf("*****W.Sha - Y.Ly******\n\n");
if (DEBUG) printf("Initialization of an instance of List...\n\n");
List* default_list = malloc(sizeof(List));
printf("Data : %s/n", default_list->head->data);
while(action != 8){
if (DEBUG) printf("Entering in a new menu prompt...\n\n");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment