From ab6dd9f48f31e0804871556513b881ddc63c38cd Mon Sep 17 00:00:00 2001 From: msksbr Date: Sat, 19 Oct 2024 01:16:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E9=AA=8C=E4=BA=8C=E5=B7=AE=E4=B8=80?= =?UTF-8?q?=E4=B8=AA=E5=86=92=E6=B3=A1=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- homework2/test2.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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; +}