I need you to test my code and i want to see your results.
With results i also wish to know:
*used compiler and c++ optimization
*32 or 64bit system?
*If results are alot different than mine then vector source code of yours.
I've got two ide's: VS 2013 and VS 2015 RC. For VS 2013 I have two compilers: default and 2013 november CTP. Here are my results: https://goo.gl/N7T6bK
I have intel core i7 laptop, 64-bit, windows 10 preview, I ran in on high performance plan scheme.
And btw. I had to polish your code a little bit. Throw in using declaration, change _tmain to main, _TCHAR to wchar_t.