To use the complex library, include the header file complex.h in your program, and compile and link with the -library=complex option.