Toggle navigation
Toggle navigation
This project
Loading...
Sign in
송민석
/
HW_2
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
송민석
2022-03-31 14:37:24 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2dea86b95f376c49156cdbda7faf770eacc36744
2dea86b9
1 parent
60632f42
Added exit.cpp
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
exit.cpp
exit.cpp
0 → 100644
View file @
2dea86b
#include <iostream>
#include <string>
using
namespace
std
;
int
main
(){
string
str
;
while
(
1
){
cout
<<
"If you want exit, Input
\"
exit
\"
: "
;
cin
>>
str
;
if
(
str
==
"exit"
){
exit
(
100
);
}
}
return
0
;
}
\ No newline at end of file
Please
register
or
login
to post a comment