OutputDoubleItem

int OutputDoubleItem (FILE *stream, void *pointerToItem);

Purpose

This function is used for writing out lists of doubles.

To output a list of doubles, call OutputList and pass this function as the itemOutputFunction parameter.

Parameters

Input
Name Type Description
stream FILE * This parameter specifies which FILE* stream to output the item to. If stdout is specified, then the item is sent to the standard output device which is usually the Standard Input/Output window.
pointerToItem void * This parameter is interpreted as a pointer to a double. (type (double *)). This double is written to the specified stream.

Return Value

Name Type Description
numberOfCharacterWritten integer Returns the number of characters written, or a negative number if an error occurred.