未能在CentOS6上生成C.UTF-8区域设置:locale: Cannot set LC_CTYPE to default locale: No such file or directory-8LC_NUMERIC="C.UTF-8"LC_COLLATE="C.UTF-8"
LC_MONETARY="C</e
在C语言中,我们能够做到这一点:scanf("%s", str); // lets say that we enter "Hello"printf("%s", str); // and the answer would be "llo"
在以O(1)时间表示字符串数据类型的C++中是否存在类似的情况?