Use of Leibniz System Code in C++ Environment Supplied by Aaron Simmons The companion file weather_cpp.zip contains the weather example problem reformulated so that the user code is in C++. The program file contains a readme.txt file detailing the changes. In short, the leibnizmacro.h and makefile files have been modified. The weather.c file has been renamed weather.cpp; to show that it really is using C++, "cout" is used in place of "printf". Suggestion: One may want always to use g++ to compile programs that use Leibniz (e.g., all the examples). Users could then decide on C and/or C++ functions as they choose. This wouldn't require very much work: - The original leibnizmacro.h would have to be changed similarly to the one in the weather example - The makefile would have to use g++ rather than gcc - The function prototypes for trserrmsg, error, disprm, and lbccexit referenced in leibnizerroraction.c/leibniztrans.c would have to be changed to have explicit prototypes. It might make sense to move the prototypes to leibnizmacro.h. I'm currently working on another example that "wraps" the Leibniz APIs in a C++ class (CLeibniz). My idea is that CLeibniz could be generated by lbcc. I'll supply an update how that goes.