C Libraries
To create reports using the C libraries:
Method 1 - reading the spec from a file
- Create a spec file using the StanReportConsole application.
- Call the LoadSpec function to read this spec.
- Call the Report function to create the report.
See ReportLibTest1.c for an example of this.
Method 2 - setting the spec programatically
- Set all the information required for the reporting using the Put functions.
- Call the Report function to create the report.
See ReportLibTest2.c for an example of this.
Compiling on LINUX
To compile using the C libraries:
- Copy the library file libiqreport.so to the library directory (eg. /usr/lib).
- Include the ReportLib.h file in your C/C++ file.
- Link to the library using the -liqreport option.