로딩
요청 처리 중입니다...

string 클래스

 string 클래스

수업 string 클래스 abcde621 2018. 5. 29. 15:22 이웃추가 본문 기타 기능 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 //typedef basic_string string; #include #include using namespace std; void main() { string str = "안녕!"; cout << str << endl; str.push_back('H'); str.push_back('i'); cout << str << endl; //안녕!

Hi for (int i = 0; i < str.size(); i++) cout << str[i]; } Colored by Color Scripter cs...

원문 링크 : string 클래스