Hi! I am not completely new to C++, but I am not super advanced either. So please keep this in mind when responding!
Hey! I am trying to develop a program that recognizes specific keyboard inputs or codes, and then plays a specific sound, depending on the input. I understand how to detect a specific user input sequence, however, I am not at all sure how to implement the sound feature. I do not know how to play a specific sound from a file, or create a sound directly in the code, so if anyone could explain how to do this, that would be great! Thanks in advance for anyone who responds!
P.S. I'm not sure if this information helps, but I am running a Mac OS-X operating system, and I am using XCode 3 to create my code and programs.
For easy loading and playing of sounds, I would suggest SFML - http://www.sfml-dev.org/. See the tutorials on the website for help. If you are unfamiliar with C++ classes and other mid level C++ features, then I would read up on them first.