Toggle navigation
Toggle navigation
This project
Loading...
Sign in
고민경
/
assignment
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
Minkyung Ko
2022-04-01 00:54:08 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7f5851995756e634fe858e63c287c89cc6d0e692
7f585199
1 parent
35bb0e5c
exit added
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
exit.cpp
exit.cpp
0 → 100644
View file @
7f58519
1
+
#include <iostream>
2
+
#include <cstring>
3
+
4
+
int
main
()
{
5
+
char
a
[
11
];
6
+
while
(
true
)
{
7
+
std
::
cin
>>
a
;
8
+
if
(
strcmp
(
a
,
"exit"
)
==
0
)
9
+
{
10
+
break
;
11
+
}
12
+
}
13
+
}
...
\ No newline at end of file
...
\ No newline at end of file
Please
register
or
login
to post a comment