home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
cset21v1.zip
/
IBMCPP
/
SAMPLES
/
COMPILER
/
SAMPLE03
/
SAMPLE03.DEF
< prev
next >
Wrap
Text File
|
1993-03-15
|
2KB
|
34 lines
;******************************************************************************
;* *
;* Sample Program 03 : Module definition file for SAMPLE03.DLL *
;* *
;* COPYRIGHT: *
;* ---------- *
;* Copyright (C) International Business Machines Corp., 1991, 1993. *
;* *
;* 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. *
;* *
;******************************************************************************
;
LIBRARY SAMPLE03 INITINSTANCE TERMINSTANCE
PROTMODE
DATA MULTIPLE NONSHARED READWRITE LOADONCALL
CODE LOADONCALL
EXPORTS
nSize ; array size
pArray ; pointer to base of array of ints
nSwaps ; number of swaps required to sort the array
nCompares ; number of comparisons required to sort the array
list ; array listing function
bubble ; bubble sort function
; selection selection sort function
insertion ; insertion sort function