Hello….I have a project I’m working on that requires dynamic allocation
of sound files (.wav) … The user chooses the number of .wav files to be loaded . I have a sound class that is based on one of the provided examples and it works fine with hardcoding in one .wav file and appears to function with a Sound *sound sound = new [x] call….but on program exit there is a memory leak… (eventual CRASH)….I’m obviously doing something wrong
Any help would be appreciated….. Thanks

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.