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
Show 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
1
+
#include <iostream>
2
+
#include <string>
3
+
using
namespace
std
;
4
+
5
+
int
main
()
6
+
{
7
+
string
str
;
8
+
while
(
1
){
9
+
cin
>>
str
;
10
+
if
(
str
==
"exit"
)
exit
(
0
);
11
+
}
12
+
13
+
}
...
\ No newline at end of file
...
\ 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