Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김나현
/
test1234
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
김나현
2021-04-01 23:19:24 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5fbfa0e5bc0ed5d7bb5e1102cb3165c5c124e198
5fbfa0e5
1 parent
c98e90a3
exit
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
exit.cpp
exit.cpp
0 → 100644
View file @
5fbfa0e
1
+
#include<iostream>
2
+
#include<string>
3
+
using
namespace
std
;
4
+
5
+
int
main
()
{
6
+
while
(
1
)
{
7
+
string
x
;
8
+
cin
>>
x
;
9
+
if
(
x
==
"exit"
)
{
10
+
exit
(
100
);
11
+
}
12
+
}
13
+
return
0
;
14
+
}
...
\ No newline at end of file
...
\ No newline at end of file
Please
register
or
login
to post a comment