http://i31.photobucket.com/albums/c388/ … roblem.jpg
What’s wrong with it? Whenever I download something for FMOD it doesn’t work!! What’s wrong?
My question is I am kind of a n00b when it comes to programing but I have had Dev-C++ for about a month now and I am even amazed at how much I have learned about it and I would like to extend my knowlege about it (including this). Could anybody give me an example code for playing back-ground music during a program? I want to make a program that says and does stuff for a song that I have that will say and do the stuff when the song does it.
- jpe2000 asked 13 years ago
There are many ways to wait for user input in Windows: 1. Calling system “pause” command. 2. Popping up a message box. 3. Using getch() 4 – … there are some more specific examples here:
The point is you don’t have to use kbhit at all. I don’t have Dev C to check why your code doesn’t work.
P.S. BTW, are you compiling for MS Windows? Cause MinGW supports crosscompiling and there’s no kbhit function in Linux, AFAIK.
Please login first to submit.