Toggle navigation
Toggle navigation
This project
Loading...
Sign in
조수연
/
git_branch_lab
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 20:00:02 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
18b6dcfa8059632e5e064936cb2a9d252c3ae17f
18b6dcfa
1 parent
10f41f79
modified
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
exit.cpp
exit.cpp
View file @
18b6dcf
...
...
@@ -3,5 +3,17 @@
using
namespace
std
;
int
main
()
{
string
s
;
cin
>>
s
;
if
(
s
==
"exit"
)
{
cout
<<
"exit the program..."
<<
endl
;
exit
(
100
);
}
else
{
cout
<<
"your input is ["
<<
s
<<
']'
<<
endl
;
}
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment