home *** CD-ROM | disk | FTP | other *** search
- **********************************************************************
- * DISCLAIMER OF WARRANTIES: *
- * *
- * The following enclosed code is sample code created by IBM *
- * Corporation. This sample code is not part of any standard IBM *
- * product and is provided to you solely for the purpose of assisting *
- * you in the development of your applications. The code is provided *
- * "AS IS", without warranty of any kind. IBM shall not be liable *
- * for any damages arising out of your use of the sample code, even *
- * if they have been advised of the possibility of such damages *
- * *
- **********************************************************************
-
- NAME: SAMPLE - Three Sort DLL
-
- DESCRIPTION:
- Implements three different sorting functions: bubble sort,
- selection sort, and insertion sort.
-
- These functions keep track of the number of swap and compare
- operations required to do the sorting.
-
- TASK:
- Building and using a DLL.
-
- FEATURE/CONCEPT:
-
- o Example of a _DLL_InitTerm function.
- o Exporting functions and variables
-
-
- HOW TO RUN THE SAMPLE FROM THE COMMAND LINE:
- Simple type the name of the .EXE file, that is:
-
- MAIN03
-
-
- HOW TO BUILD THE SAMPLE FROM THE COMMAND LINE:
-
- - to build the DLL first:
- In the sample03\sort directory
-
- nmake
-
- - to build the main program:
- In the sample03 directory
- nmake
-
-
- ADDITIONAL INFORMATION
- For additional information on this and other samples shipped
- with the VisualAge for C++ product, please see the Guide to Samples
- notebook.
-
- To access the notebook from Program Manager, open the
- VisualAge for C++ product object, then open the Guide to Samples
- notebook.
-