Description
The routine CPXfputs() can be used to write output to a file opened with CPXfopen(). The purpose of this routine is to allow user-defined output in a file to be interspersed with the output created by using the routines CPXaddfpdest() or CPXsetlogfile(). The semantics of CPXfputs() are the same as the standard C library function fputs().Return Value
This routine returns a non-negative value if successful. Otherwise the system constant EOF is returned. Synopsis
int CPXfputs (char *s,
CPXFILEptr stream);
char *sA pointer to a string to be output to the file.
CPXFILEptr streamA pointer to a file opened by the routine
CPXfopen().
CPXfputs ("Solved first problem.\n", fp);