most of the times, you link your program with a library and include the headers.
ive noticed that msvc++ and mingw(devc++'s compiler) are like 90% compatible with each other. most stuff that works in mingw will work in msvc++. if you have a .a mingw library file, just rename i .lib and use it in msvc++. most of the time it works.