fucking malloc()!

I am RETARDED! I spent most of today trying to get this app using OpenAL to work with a manually generated buffer (ie, not using a wave-loading function). I kept on trying to figure out why the damn program wouldn’t run without segfaulting. Finally, only after looking in the sources for ALUT, I realize that I should be using malloc instead of new like some sort of C++ baby.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>