0
0

This is in my SoundClass Header:
FSOUND_SAMPLE **Songs;

This is in my init function:
*Songs = new FSOUND_STREAM[NumOfSongs];

What I want to have is a dynamicly created amount of sounds for my game. Basicly I want a double pointer or an array of FSOUND_STREAM pointers. Is there any way to do this. It says that FSOUND_STREAM does not have a default constructor… I have all the headers that I need. This sounds stupid but… what’s going on? I understand that the code that I link to doesn’t have a constructor that takes nothing. So should i do something like this:

*Songs = new FSOUND_STREAM[NumOfSongs] = NULL;

  • You must to post comments
0
0

Thank you,
Yeah I was copying and pasting out of my Header and acidently got the wrong one. I thought i switched it, but i guess i only switched half of it. 😳 Should have spent more time and looked at my post longer. Thanks for your help! That is so cool, Thank you. I’ll try it tonight. 😀

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.