/** * @author : garhve (dev@garhve.com) * @file : main * @created : Friday Nov 25, 2022 20:22:14 CST */ #include "tree.h" void printChild(const regfile * head) { regfile * scan = head->next; while (scan != NULL) { printf("%s\n",scan->node->text); scan = scan->next; } } int main() { regfile head; getfile(&head,".."); printChild(&head); empty(&head); return 0; }