Hi..i need to know how i can make test with time..
I have implemented genric dynamic array with sorting algorith descending ascending and also operator overloading so ineed to test every function + sorting algorithm and it is template i do not know how to do that plz...help...

function profiling is calculating the amout of time it takes for a function or other algorithm to execute. Because they execute so quickly it is usually necessary to crete a test program that will run the test data through the algorithm thousands of times in order to achieve a measurable time.

This subject has been discussed here at DaniWeb and other programming web sites many many times. Here is just one thread you should read. You can find others here, some are relevent to your question and some not.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.