0
0

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.

Thanks.

  • You must to post comments
0
0

Oh, and one more question. When I have finally figured out the works of my program should I use .ogg or one of the file formats that comes with FMOD? Like .s3m or something like that.

  • You must to post comments
0
0

BUMP!

  • You must to post comments
0
0

The error message is very clear. It says it can’t recognize that kbhit function. You need to include conio.h and a C library in order to make it work. BTW, that function has nothing to do with FMOD.

  • You must to post comments
0
0

I already have conio.h included though!

  • You must to post comments
0
0

http://i31.photobucket.com/albums/c388/ … GMEOFF.jpg

This is [b:3ox40e56]REALLY[/b:3ox40e56] pissing me off! [b:3ox40e56]BADLY!!!![/b:3ox40e56]

  • You must to post comments
0
0

You’d better call it [b:2uas43ao]kbhit[/b:2uas43ao] (without the leading underscore).

  • You must to post comments
0
0

I STILL get an error for that though.

  • You must to post comments
0
0

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:

h**p://www.wasm.ru/forum/index.php?action=vthread&topic=13267&forum=4&page=-1

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.

  • You must to post comments
0
0

Ok, I got that done. What can I do next?

  • You must to post comments
0
0

Anyone?

  • You must to post comments
Showing 10 results
Your Answer

Please first to submit.