You can integrate C++ code with Specman Elite using the Specman Elite C interface. C++ modifies all the function names by addtion of the argument type and possibly the return type information to the function names. Thus you cannot directly link with C++ code.
There are two ways to overcome this:
You can add an extern "C" declaration before the function prototype in the corresponding C++ source file (or, in the .h file, if it is included by the .C file). For example, replace the following function prototype
int loadmem( int type, char *cmd );
with
extern "C" int loadmem( int type, char *cmd );
If you do not have the C++ source file, you must write a small C++ wrapper that has the extern "C" declaration. You must compile the C++ wrapper with the same C++ compiler you used to compile the original C++ code, since different compilers modify the function name differently.
After compiling the C++ code, you should be able to integrate it as if it were C code. When integrating C++ code with standalone Specman Elite, you may need to compile the Specman Elite main() function using the same C++ compiler that compiled your C++ code. You can choose your own C++ compiler.