From d1d0e49bd3cbc3dd6496f25109f92448bad93384 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=A1=E5=9D=82=E6=98=B4?= Date: Thu, 26 Sep 2024 10:15:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AC=AC=E4=B8=80=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- homework1/test1.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/homework1/test1.cpp b/homework1/test1.cpp index 6646467..e4b4d3e 100644 --- a/homework1/test1.cpp +++ b/homework1/test1.cpp @@ -28,6 +28,7 @@ void output(book *books, int length) { int main() { book books[100]; int length = input(books); + cout << length << endl; output(books, length); return 0; }