Toggle navigation
Toggle navigation
This project
Loading...
Sign in
박주영
/
gitbranch1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
박주영
2020-09-25 16:56:19 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ffbb8f176348e151626011985c388620e58cb7cc
ffbb8f17
1 parent
a3231a9d
add exit
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
main.cpp
main.cpp
View file @
ffbb8f1
...
...
@@ -6,6 +6,8 @@ int main() {
string
s1
;
cout
<<
"Input string: "
;
cin
>>
s1
;
if
(
s1
==
"exit"
)
return
0
;
cout
<<
s1
<<
endl
;
return
0
;
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment