Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
야
야오지앙_ITE1015_2019021503
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
야오지앙
야오지앙_ITE1015_2019021503
Commits
8bf91344
Commit
8bf91344
authored
Sep 20, 2022
by
야오지앙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
aeef6cc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
3-1-2.cpp
3-1-2.cpp
+18
-0
No files found.
3-1-2.cpp
0 → 100644
View file @
8bf91344
#include <iostream>
#include <string>
int
main
()
{
std
::
string
s0
(
"abcdef"
);
std
::
string
s1
(
"abc"
);
std
::
string
s2
(
"def"
);
std
::
string
s3
(
s0
);
std
::
string
s4
(
"a"
);
std
::
string
s5
(
"f"
);
std
::
cout
<<
"s1: "
<<
s1
<<
"
\n
s2: "
<<
s2
<<
"
\n
s3: "
<<
s3
;
std
::
cout
<<
"
\n
s4: "
<<
s4
<<
"
\n
s5: "
<<
s5
;
return
0
;
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment