echo_prog.cpp 207 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 #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; return 0; }