home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
cset21v1.zip
/
IBMCPP
/
SAMPLES
/
COMPILER
/
SAMPLE03
/
SAMPLE03.H
< prev
next >
Wrap
Text File
|
1993-03-15
|
2KB
|
32 lines
/******************************************************************************/
/* */
/* Sample Program 03 : SAMPLE03.H */
/* */
/* 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. */
/* */
/******************************************************************************/
#include <stddef.h>
extern size_t nSize;
extern int *pArray;
extern size_t nSwaps;
extern size_t nCompares;
extern void list( int array[], size_t nNumElements );
extern void bubble( int array[], size_t nNumElements );
extern void insertion( int array[], size_t nNumElements );
extern void selection( int array[], size_t nNumElements );