Toggle navigation
Toggle navigation
This project
Loading...
Sign in
양효빈
/
assign2
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 15:46:38 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5361993d80a8b2cad680e06be6c5013105229a70
5361993d
0 parents
Commit exit.cpp
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
exit.cpp
exit.cpp
0 → 100644
View file @
5361993
1
+
#include <iostream>
2
+
#include <string>
3
+
using
namespace
std
;
4
+
5
+
int
main
()
6
+
{
7
+
string
s
;
8
+
9
+
cin
>>
s
;
10
+
if
(
s
==
"exit"
)
11
+
exit
(
0
);
12
+
else
cout
<<
s
;
13
+
14
+
return
0
;
15
+
}
...
\ No newline at end of file
...
\ No newline at end of file
Please
register
or
login
to post a comment