From f01a0d08e690cc0264707f72ac216569c3e1bae1 Mon Sep 17 00:00:00 2001 From: lensferno Date: Fri, 8 Apr 2022 20:04:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E9=AA=8C3=EF=BC=9A=E4=BD=9C=E4=B8=9A?= =?UTF-8?q?=E9=AD=94=E6=94=B9=E7=89=88=EF=BC=88plugless=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 4 ++- work20220407/.idea/.gitignore | 8 ++++++ work20220407/.idea/deployment.xml | 14 ++++++++++ work20220407/.idea/encodings.xml | 8 ++++++ work20220407/.idea/misc.xml | 4 +++ work20220407/.idea/modules.xml | 8 ++++++ work20220407/.idea/vcs.xml | 6 +++++ work20220407/.idea/work20220401.iml | 2 ++ work20220407/main.cpp | 8 +++--- work20220407/string/String.cpp | 40 +++++++++++++++-------------- work20220407/string/String.h | 6 ++--- 11 files changed, 80 insertions(+), 28 deletions(-) create mode 100644 work20220407/.idea/.gitignore create mode 100644 work20220407/.idea/deployment.xml create mode 100644 work20220407/.idea/encodings.xml create mode 100644 work20220407/.idea/misc.xml create mode 100644 work20220407/.idea/modules.xml create mode 100644 work20220407/.idea/vcs.xml create mode 100644 work20220407/.idea/work20220401.iml diff --git a/.gitignore b/.gitignore index c26ed17..b4859c2 100644 --- a/.gitignore +++ b/.gitignore @@ -23,4 +23,6 @@ # CMake cmake-build-*/ -out/ \ No newline at end of file +out/ + +.vs/ \ No newline at end of file diff --git a/work20220407/.idea/.gitignore b/work20220407/.idea/.gitignore new file mode 100644 index 0000000..1c2fda5 --- /dev/null +++ b/work20220407/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/work20220407/.idea/deployment.xml b/work20220407/.idea/deployment.xml new file mode 100644 index 0000000..771f492 --- /dev/null +++ b/work20220407/.idea/deployment.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/work20220407/.idea/encodings.xml b/work20220407/.idea/encodings.xml new file mode 100644 index 0000000..24dbfa6 --- /dev/null +++ b/work20220407/.idea/encodings.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/work20220407/.idea/misc.xml b/work20220407/.idea/misc.xml new file mode 100644 index 0000000..f1c67df --- /dev/null +++ b/work20220407/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/work20220407/.idea/modules.xml b/work20220407/.idea/modules.xml new file mode 100644 index 0000000..e2f5241 --- /dev/null +++ b/work20220407/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/work20220407/.idea/vcs.xml b/work20220407/.idea/vcs.xml new file mode 100644 index 0000000..2e3f692 --- /dev/null +++ b/work20220407/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/work20220407/.idea/work20220401.iml b/work20220407/.idea/work20220401.iml new file mode 100644 index 0000000..6d70257 --- /dev/null +++ b/work20220407/.idea/work20220401.iml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/work20220407/main.cpp b/work20220407/main.cpp index 6c593d0..e571d05 100644 --- a/work20220407/main.cpp +++ b/work20220407/main.cpp @@ -1,9 +1,9 @@ #include #include "string/String.h" - using namespace std; +// 测试示例来自题目 int main() { String s1("Help!"),s2("Good!"),s3(s2),s4,s5; cout<<"s1="<