본문 바로가기

C++문법

s1[i-1] = s1.at(j-1)

string s1; 에서 

s1[i-1] = s1.at(j-1) 동일하다