How to create a dynamic library of the following code

double sum(double a, double b)
{
    return (a+b);
}

P.S> I've no idea about all these stuffs. Pls brief me all these. Just to know how these works.

Have you tried this?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.