Cpp Array Slice And Splice