December 24th, 2012, 06:26 AM
Calling a function in .so
I am working on C++ code i have compiled the code it has generated .so files
now my requirement is to call a sun() function from
some other function that i have written.
How can i call sum() from main()?
sum();--->here class A's sum() must be called.
any help is highly appriciated.
January 3rd, 2013, 03:05 PM
You have to look into linking to shared object libraries.
do a search for those terms. You will find links link this