Toggle navigation
Toggle navigation
This project
Loading...
Sign in
정태규
/
Assignment2
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
정태규
2021-09-30 00:46:25 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
266839ba9d559bb5d891f041c555e73813a89d85
266839ba
1 parent
c42674e9
exit function has been added
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
echo.cpp
echo.cpp
View file @
266839b
...
...
@@ -4,9 +4,10 @@ using namespace std;
int
main
()
{
string
input
;
while
(
true
)
{
getline
(
cin
,
input
);
while
(
input
!=
"exit"
)
{
cout
<<
input
<<
endl
;
getline
(
cin
,
input
);
}
return
0
;
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment