- for (int j = 0; j < todolist->item_count; j++) {
- TodoItem* todoitem;
- printf("Item =-=-=-=-=-\n");
- todoitem = todolist->item_list[j];
- printf("Item name: %s\n", todoitem->item_name);
- printf("Description: %s\n", todoitem->description);
- printf("Num of subtasks: %d\n", todoitem->subtask_count);