Toggle navigation
Toggle navigation
This project
Loading...
Sign in
하재정
/
Assignment2_2019102237
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-09-25 23:10:51 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
590e594fc0161cbedecdaf2c8c6bbdd8087c47ce
590e594f
1 parent
ff87becf
add exit.cpp
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
exit.cpp
exit.cpp
0 → 100644
View file @
590e594
1
+
#include <iostream>
2
+
#include <string>
3
+
4
+
int
main
()
{
5
+
std
::
string
input
;
6
+
std
::
cin
>>
input
;
7
+
if
(
input
==
"exit"
)
8
+
exit
(
0
);
9
+
}
...
\ No newline at end of file
...
\ No newline at end of file
Please
register
or
login
to post a comment