Toggle navigation
Toggle navigation
This project
Loading...
Sign in
안지현
/
gitBranch
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 22:48:11 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b2f4a3e8bfde04287b3c608097edbf5c79eec5c6
b2f4a3e8
1 parent
9ae2c548
exit edited
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
exit.cpp
exit.cpp
0 → 100644
View file @
b2f4a3e
1
+
#include <iostream>
2
+
using
namespace
std
;
3
+
4
+
int
main
()
{
5
+
6
+
string
c
;
7
+
string
e
=
"exit"
;
8
+
cout
<<
"Enter message"
<<
endl
;
9
+
cin
>>
c
;
10
+
if
(
c
==
e
)
{
11
+
exit
(
0
);
12
+
}
13
+
return
0
;
14
+
}
...
\ No newline at end of file
...
\ No newline at end of file
Please
register
or
login
to post a comment