Initializing help system before first use

XPRSgetbanner

XPRSgetbanner


Purpose
Returns the banner and copyright message.
Synopsis
int XPRS_CC XPRSgetbanner(char *banner);
Argument
banner 
A buffer of at least XPRS_MAXBUFFERLENGTH characters in which the null terminated banner string will be returned.
Example
The following calls XPRSgetbanner to return banner information at the start of the program:
char banner[XPRS_MAXBUFFERLENGTH];
...
if(XPRSinit(NULL))
{
  /* The error message when XPRSinit fails is written to the banner. */
  XPRSgetbanner(banner);
  printf("%s\n", banner);
  return 1;
}
XPRSgetbanner(banner);
printf("%s\n", banner);
Further information
This function can most usefully be employed to return extra information if a problem occurs with XPRSinit.
Related topics

© 2001-2020 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.