Some example code to evaluate how c and c++ code can mix. Original code from http://www.parashift.com/c++-faq/cpp-objs-passed-to-c.html