to link it implicitly, you'll have to provide a header containing the declarations of the exported functions/classes. then you would link the import library(.lib or .a, probably .lib since its windows)(created when you compiled the dll) into your compiler. and finally of course, you'd need your actual DLL in the directory of the executable.
you would write what you want in the DLL and compile it as a DLL(remember to write the code so that the DLL exports the functions so that they can be used by other applications through use of the _declspec(dllexport) keyword). next you can either link the DLL implicitly or explicitly.