Toggle navigation
Toggle navigation
This project
Loading...
Sign in
정세호
/
mytest
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
정세호
2020-09-25 19:05:05 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
82e80425bb4a0b5e7aaa1385f413cf75ff537d41
82e80425
1 parent
b20426e9
push exit program from exit branch, B repository
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
echo_program_new.cpp
echo_program_new.cpp
View file @
82e8042
...
...
@@ -4,11 +4,13 @@
using
namespace
std
;
int
main
()
{
string
s
;
cout
<<
"if you enter 'exit', the program will exit"
;
while
(
true
)
{
cin
>>
s
;
cout
<<
s
<<
endl
;
if
(
s
==
"exit"
){
break
;
}
cout
<<
s
<<
endl
;
}
exit
(
100
);
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment