 Hey everybody, this is Brian. Welcome to the 44th Qt tutorial with C++ and GUI programming. Today we're going to be going over another algorithm, the Q copy. And if you go to the documentation, you'll see they've got this nice little example here that copies from a Q stringless to a Q vector. If you don't know what a Q vector is, it's like a better version of an array. So we're going to actually go ahead and just make that little application here. And let's include Q string list and include Q vector. So we'll make our list here and let's populate it. And there we go. Now we need to initialize our vector. So let's say Q vector. And we're going to populate this with strings. Let's call it Vect and we need to give it an upper boundary of 3. Now we can actually copy into there. We do that by calling Q copy. And we need to give it a start position, an imposition, and another start position. The first argument is where you're starting from. So we'll say list.begin. The second argument is where you want to end. So we'll say list.end. And the final argument is the output starting position. Where do you want to start? Well, we're copying this to the Q vector. So let's say Vect.begin. Sorry about that. My keyboard is still set up for video games. And let's just go for each, say Q string. And we want to print out Vect. Let's compile and run this and let's see how this works. So the contents of our vector are now A, B, and C. The same contents we had of our Q string list. Now, if you've been paying attention, you notice that we have a start position, an imposition, and a start position here. So let's just say we want to copy out begin plus one. Now what we're going to do is we're going to say this is the beginning. But we want to do plus one. So we're going to actually start here. And you compile and run this. We have B, C, and A blank item in our vector. That's how that works. You could also do the same by saying you want to start copying at Vect.begin plus one. In other words, the second item. So let's just go run this and see how that works. Now, sure enough, we have a blank item and then B, C. Very simple, yet very, very powerful algorithm, Q copy. Thank you for watching. I hope you found this educational and entertaining and stay tuned. We're going to go over a few more algorithms and then we're going to jump right back into GUI programming.