I want to use some .cpp class and methods in my java program. For example, I have p1.java that calls method1. method1 is available in p2.cpp and p2.cpp includes p3.cpp. I don't want to change cpp codes...
Is it possible? (and I need .cpp and .header both.)
And is there any alternative better solution? (except java native interface)?