Hi everyone,
This is my first post on daniweb!
I'm fairly new to C++ and am trying to add sound to my application using FMOD. Now, I have managed to get sound playing correctly using FMOD, but I'm now trying to get all the sounds I want loaded, into a vector (some form of collection).
This is my code that i have in my Sounds.h file:
// code here
private:
vector<FSOUND_SAMPLE> sounds;
// more members
By doing this, I'm getting an error message:
c:\program files (x86)\microsoft visual studio 9.0\vc\include\vector(1117) : error C2036: 'FSOUND_SAMPLE *' : unknown size
Does anyone know how i can store FSOUND sounds into a vector?
Thanks in advance!