This commit is contained in:
romkazvo
2023-08-07 19:29:24 +08:00
commit 34d6c5d489
4832 changed files with 1389451 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
#include <string>
int main()
{
std::string str1 = "string";
std::string str2;
str2.assign(str1.begin(), str1.begin() + 3);
return 0;
}