Toggle navigation
Toggle navigation
This project
Loading...
Sign in
손지언
/
Assignment0925-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
sju0924
2020-09-25 22:11:40 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
36d09e7788e9e7261751339706704e9af71a3e7b
36d09e77
1 parent
1cd2418f
add exit and branch exit
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
exit.cpp
exit.exe
exit.cpp
0 → 100644
View file @
36d09e7
#include <iostream>
#include <string>
using
namespace
std
;
int
main
()
{
string
str
;
while
(
1
){
cin
>>
str
;
if
(
str
==
"exit"
)
exit
(
0
);
}
}
\ No newline at end of file
exit.exe
0 → 100644
View file @
36d09e7
No preview for this file type
Please
register
or
login
to post a comment