4장 3번 - 문장입력하고 부분 문자 바꾸기
#include #include #include #include using namespace std; /* run this program using the console pauser or add your own getch, system("pause") or input loop */ int main(int argc, char** argv) { string str; srand( (unsigned)time(0) ); string alpa[26]={"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"}; int cstr; int calp..
더보기