#include #include using namespace std; int main() { // c-style 문자랑 다르게 // string은 뒤에 null문자가 포함되지 않음 string my_str("01234567"); // 미리 용량 확보(최소한의 용량) my_str.reserve(1000); cout