Please do not recommend any type of shortcut, I just want to tell my computer completely through my code, and my code only, with no use of OpenGL, etc. I was wondering how I would check if a certain key was pressed, and if so make the computer play a music file in my music folder within my MyDocuments folder?
This function is in winAPI library, which is needed to communicate with operating system. If MinGW your IDE using is up to date, everything should work.