- Create a simple shared library with the following C file:
int add(int a,int b)
{
return a+b;
}
int sub(int a,int b)
{
return a-b;
}
- Create a test app using implicit and explicit link
- Convert the library to C++ , add another function:
int add(int a,int b,int c)
{
return a+b+c;
}
- Update the test app