I have a MIDI device that I would like to use to interact with an application I'm developing. I've never messed with MIDI devices before so I'm not very familiar with what standard (if any) libraries are available, or what?

Basically I know nothing about this and would really appreciate some insight in how to approach interfacing with MIDI through C++, what kinds of libraries, what standards/protocols might be good for me to understand, etc.

I hope someone here knows a few things about this!