The sample programs SORT.PLI and DRIVER1.PLI show how to build and use a DLL that contains three different sorting functions. These functions keep track of the number of swap and compare operations required to do the sorting.
The files for the sample program are:
If you installed the sample programs, these files are found in the ..\SAMPLES\ directory.
Use the following sequence of commands to compile, link, and run the program: