I was humming along, and decided to try out data sorting. So, I did a few pieces of research, and came up with a really cool looking algorithm: Quicksort. I did what I should have, and started to program. Now, here is where I sound like an idiot:

Why is this not working?

The code is attached below. I wrote it up in Microsoft Visual Basic C++ 2010 Express. Every time I run it it gets the following error, and I cannot for the life of me find out why. Any help (at all) would be greatly appreciated, as I am new to C++ (I did Java mostly before this).

Thanks in advance,

EneilShade