diff --git a/homework2/test2.cpp b/homework2/test2.cpp index 124ab1a..e2ca7a3 100644 --- a/homework2/test2.cpp +++ b/homework2/test2.cpp @@ -1,2 +1,12 @@ +//test2.cpp #include -#include"LinkList.h" +#include"LinkList.h" //LinkList类见第一题 +using namespace std; + +int main() { + bookList books = new bookNode; + books->next = NULL; + create(books); + display(&books); + return 0; +}