C++ split std list into two lists
问题 Hey so I'm reasonably new into c++ and I ran into this problem where I want to split one std list of strings into two lists. For example: list(1,2,3,4) -> list1(1,2) & list2(3,4) I guess splice is what I am supposed to use for this, but I could not understand how that works at all... Can someone please advice me how to do this? Sorry about my bad English and thanks for help everyone. 回答1: "I'm reasonably new into c++" It's a common misconception of users coming with Java or C# experience,