Over a million lines of programs. Quadratic Equation Gives real number solutions to quadratic equation. This is perfect article. The class uses mfc's hash table classes behind the scenes.
Execution is very fast.
If you enter the number -1 it will show you all the numbers ,which were entered by you. It includes code that counts the number of comparisons performed storing the result in a call by reference variable to pass the information back to the calling function. The program will print out a copy of the array before and after sorting. Its also includes a test function that tests the code for a series of data sets containing between 1 to 100 pieces of data - with an array size given be the user. This code will show people who are a little weak with pointers and structures.