NO FRAMES

CPXstrcpy

CPXCHARptr CPXPUBLIC CPXstrcpy(char * s1_str, const char * s2_str)
Definition file: cplex.h

The routine CPXstrcpy is used to copy strings. It is exactly the same as the standard C library routine strcpy. This routine is provided so that strings passed to the message function routines (see CPXaddfuncdest) can be copied by languages that do not allow dereferencing of pointers (for example, older versions of Visual Basic).

Example

 CPXstrcpy (p, q);
 

Parameters:

s1_str

A pointer to the string to hold the copy of the string pointed to by src.

s2_str

A pointer to a string to be copied to dest.

Returns:

The routine returns a pointer to the string being copied to.