So I am trying to teach myself C++ and at the moment I am working on creating a sort of piano, using the Beep-function in Windows.
I am wondering how to make the beep last for as long as I press the keys on the keyboard. Doing a bit of research online I found something called _IsPressed
which I can't get to work because I don't know how to include <Misc.au3>
(it gives an error, saying "no such file or directory" which makes me wonder if I have to download and install something first).
As you may suspect, I am very much a beginner. Does anyone have any helpful tips?