Debian Codegraph @

extern/rtmidi/doc/doxygen/samples/getting_started.cpp

raw
1 #include "RtMidi.h"
2
3 int main() {
4 try {
5 RtMidiIn midiin;
6 } catch (RtMidiError &error) {
7 // Handle the exception here
8 error.printMessage();
9 }
10 return 0;
11 }