Page 9 - Demo
P. 9
Interface to C/C++%uf09f %uf09f RCP Consult 2023-2026 Page 9 *ier=0; return p1*pi/4*s*pow(d,2)-p2*l;}It is also allowed to use a mixed mode %u2013 global vector, global names and arguments in the same export function.Note: Function and argument names are arbitrary.7. How to use the C/C++ interface in a STRUREL jobDuring installation of a STRUREL program with a licensed C/C++ Interface a corresponding Add-on (SAO) %u2013 StrurelToCpp.sao providing the connectivity to the development environment for supported compilers will be placed in the \\Add-ons\\ folder. If everything has been bound as described above, then in STRUREL several indicators provide information about the interface. The first one is a menu item Strurel To C/C++ in main menu Help\\About Add-ons\\Interface. By selecting this item, an informative tooltip will be shown.The next indicator is a C/C++ icon placed in the status bar on the bottom. When pointing on it by mouse cursor the state of interface will be shown on the leftmost pane of the status bar.If both indicators have states as shown above you are ready to use the C/C++ Interface facilities in a STRUREL job.A standard approach to operate with C/C++ Interface completely differs from handling with standard interfaces such as PYTHON or similar. The creation of a C/C++ source file in correct notation for compiler of interest is not trivial. To make it easier a template with some helpful

