NO FRAMES

CPXfputs

public int CPXfputs(const char * s_str, CPXFILEptr stream)
Definition file: cplex.h

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 syntax of CPXfputs is the same as the standard C library function fputs.

Example

 CPXfputs ("Solved first problem.\n", fp);
 

Parameters:

s_str

A pointer to a string to be output to the file.

stream

A pointer to a file opened by the routine CPXfopen.

Returns:

This routine returns a nonnegative value if successful. Otherwise, it returns the system constant EOF (end of file).