BTW the method signature above is returning jstring... , if you have any others change it or others make it... 'void'...

For C++ , there will be a small change in calling the functions...
Checkout this URL for the minor changes....
http://java.sun.com/docs/books/tutor...nting/cpp.html