아파서 공부를 못해서 업로드를 못하고있었다 지금도 어지럽네 ㅠㅠ 당분간은 천천히 해야겠다
1. std::string 객체로 된 배열을 정의하고, 자신이 선택한 단어들로 초기화한 후에 반복자를 사용해 배열의 내용을 한 줄에 하나씩 출력하는 프로그램을 작성하라
int _tmain()
{
string str[5];
str[0] = "hello";
str[1] = "nice";
str[2] = "to";
str[3] = "me";
str[4] = "too";
for (auto iter = begin(str); iter != end(str); iter++)
{
cout << *iter << endl;
}
}