[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6. Programming Examples

The programs in this chapter are useful as models for a variety of applications that use the WFDB library. The line numbers are for reference only; they are not part of the programs. Any of these examples can be compiled (under Unix) using a command of the form

 
cc file.c -lwfdb

or, if the WFDB library or its *.h files are not in the standard locations:

 
cc `wfdb-config --cflags` file.c `wfdb-config --libs`

where file.c is the name of the file containing the source; see section Using the WFDB Library, for further information. The sources for these examples are included in the WFDB Software Package, within the ‘examples’ directory.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]

George B. Moody (george@mit.edu)