Toggle navigation
Toggle navigation
This project
Loading...
Sign in
이윤동
/
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
이윤동
2017-09-22 12:17:09 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7156082f2d2dc28c32dfdeff7e45d5d07c4d7e93
7156082f
0 parents
echo program
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
echo_prog.cpp
echo_prog.cpp
0 → 100644
View file @
7156082
#include <iostream>
using
namespace
std
;
int
main
(){
char
*
msg
;
cout
<<
"보낼 메시지를 입력하시오."
<<
endl
;
cin
>>
msg
;
for
(
int
i
=
0
;
i
<
sizeof
(
msg
);
i
++
){
cout
<<
msg
[
i
];
}
cout
<<
endl
;
if
(
msg
==
"exit"
){
exit
(
10
);
}
return
0
;
}
\ No newline at end of file
Please
register
or
login
to post a comment