CPXaddfpdest() adds a file to the list of message destinations for a channel. The destination list for all CPLEX-defined channels is initially empty.
The routine returns a zero on success, and a nonzero if an error occurs.
int CPXaddfpdest (CPXCENVptr env, CPXCHANNELptr channel, CPXFILEptr fileptr);
The pointer to the CPLEX environment as returned by
A pointer to the channel for which destinations are to be added.
A pointer to the file to be added to the destination list. Before calling this routine, obtain this pointer with a call to