Advertisement

HELP!!

Started by September 15, 2000 03:01 PM
8 comments, last by reverie 24 years, 3 months ago
Every time i try to include an mp3 or wav file, there''s an error. Can anyone help?
What the hell are you talking about?

#include ?

???

VyvyanBasterd
Advertisement
Are you trying to do something like this:

#include <my_mp3.mp3>

? If so, you can''t do that. You can only #include source files.
I'm reminded of the day my daughter came in, looked over my shoulder at some Perl 4 code, and said, "What is that, swearing?" - Larry Wall
neeeed more iiiinpuuutttt.......... #5 aliiiiiveeeee......

==============================
\\// live long and prosper; \||/ die short and rot.
==============================

Drew Sikora
Executive Producer
GameDev.net

I''m sure it would work if you rename the mp3 to a .h .

Martee
Magnum Games
ReactOS - an Open-source operating system compatible with Windows NT apps and drivers
ok, so the #include will work.
Advertisement
Uh, no.

I'm reminded of the day my daughter came in, looked over my shoulder at some Perl 4 code, and said, "What is that, swearing?" - Larry Wall
this post is boggling my mind...

------------------------
IUnknown *pUnkOuter
------------------------IUnknown *pUnkOuter"Try the best you cantry the best you canthe best you can is good enough" --Radiohead
If you did do:

#include "Rolf Harris - Someone''s Pinched Me Winkles.mp3" 


What would you want to happen?
when ever you #include a file, what the compiler does when you compile it is replace the #include with the actual file you''re including, i.e.

    //header.hint func1(void);//main.cpp#include <header.h>int main(void){  //... etc...//would be this (to the compiler)//main.cppint func1(void);int main(void){   //... etc...    


#include-ing an mp3 is just gonna confuse the hell out of the compiler.. do you want to play it, is that what this is about?

------------------------
IUnknown *pUnkOuter
------------------------IUnknown *pUnkOuter"Try the best you cantry the best you canthe best you can is good enough" --Radiohead

This topic is closed to new replies.

Advertisement