Toggle navigation
Toggle navigation
This project
Loading...
Sign in
임윤희
/
OSS_exp2
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
Yunhee Lim
2021-09-24 16:22:05 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4968084805da36b3b239d8846c969c3e097a6ad5
49680848
1 parent
e9050fa6
Add 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 @
4968084
#include <iostream>
#include <string>
using
namespace
std
;
int
main
()
{
string
s
;
cout
<<
"Enter: "
;
getline
(
cin
,
s
);
if
(
s
==
"exit"
)
{
cout
<<
"ÇÁ·Î±×·¥À» Á¾·áÇÕ´Ï´Ù."
<<
endl
;
exit
(
0
);
}
return
0
;
}
\ No newline at end of file
Please
register
or
login
to post a comment