I am curious if there is a build-in function in C++ for measuring the execution time? I am using Windows at the moment. In Linux it\'s pretty easy...
You can use the Windows API Function GetTickCount() and compare the values at start and end. Resolution is in the 16 ms ballpark. If for some reason you need more fine-grained timings, you'll need to look at QueryPerformanceCounter.