이윤동

echo program

1 +#include <iostream>
2 +using namespace std;
3 +
4 +int main(){
5 + char* msg;
6 + cout << "보낼 메시지를 입력하시오." << endl;
7 + cin >> msg;
8 + for (int i=0;i<sizeof(msg);i++){
9 + cout << msg[i];
10 + }
11 + cout << endl;
12 + return 0;
13 +}
...\ No newline at end of file ...\ No newline at end of file