I´m using SDL and OpenGL together.
I would like to create my own memory manager, just to rewrite the NEW and DELETE commands to add my memory reservation counter and memory reserved counter to keep more information about what´s going on with my leaks.
But as soon as i overwrite New, i get many errors concerning SDL and MinGW libraries that i´m using, just because i did that, their new are also rewritten, but i just want it for my OWN classes, not to affect those, but i include SDL in many other places in my project.
I also used a class a friend gave me that worked for him, but he just used C++ and OpenGL alone and it worked for him...
What happens here? how do people get to do this so often , and recommend to do this everytime? is it true? Should i do it everytime i can?