Toggle navigation
Toggle navigation
This project
Loading...
Sign in
안형준
/
OS_lab4_assignment7
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
안형준
2018-09-28 11:49:32 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bbed202a7b4fad37c4ae23d14d8f7eb38dc79ec0
bbed202a
1 parent
c6156fde
1.00
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
EchoProgram/main.cpp
EchoProgram/main.cpp
0 → 100644
View file @
bbed202
#include<iostream>
#include<string>
using
namespace
std
;
int
main
()
{
while
(
1
)
{
string
message
;
cout
<<
"input your message : "
;
getline
(
cin
,
message
);
if
(
message
==
"exit"
)
{
cout
<<
"exit program!"
<<
endl
;
system
(
"pause"
);
return
0
;
}
cout
<<
"your message :"
<<
message
<<
endl
;
}
system
(
"pause"
);
return
0
;
}
\ No newline at end of file
Please
register
or
login
to post a comment