From 21a96762be84a90b4fb81d61270ce2b0aba56516 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=A1=E5=9D=82=E6=98=B4?= Date: Sun, 22 Dec 2024 00:44:49 +0800 Subject: [PATCH] respect! --- homework6/CMakeLists.txt | 1 + homework6/test1.cpp | 1 + homework6/test2.cpp | 9 +++++++++ 3 files changed, 11 insertions(+) create mode 100644 homework6/test2.cpp diff --git a/homework6/CMakeLists.txt b/homework6/CMakeLists.txt index 9e5e6ee..72461f1 100644 --- a/homework6/CMakeLists.txt +++ b/homework6/CMakeLists.txt @@ -4,3 +4,4 @@ project(homework6) set(CMAKE_CXX_STANDARD 20) add_executable(test1 test1.cpp) +add_executable(test2 test2.cpp) diff --git a/homework6/test1.cpp b/homework6/test1.cpp index 3bed782..1ffb137 100644 --- a/homework6/test1.cpp +++ b/homework6/test1.cpp @@ -35,4 +35,5 @@ int main() { list l={3,6,2,10,'l',8,5,7,4,9}; int index=seqSearch(l,5); cout< +#include + +using namespace std; + +int main() { + return 0; +} \ No newline at end of file