Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualsasho648

Posted 21 September 2012 - 01:09 PM

Ok I found a way to pass the arguments in the delete operator by a global variables like this:

#define DELETE_OLD delete

#define delete 0; while(bIsDeleteParamsPassing); bIsDeleteParamsPassing=true; chFile=(char*)__FILE__; inLineNo=__LINE__; DELETE_OLD


Here is the final version:

https://rapidshare.com/files/476519966/MemoryHandler.cpp

https://rapidshare.com/files/493613952/MemoryHandler.hpp

and example for used this (cmd) in main.cpp

https://rapidshare.com/files/1234352939/main.cpp

#1sasho648

Posted 21 September 2012 - 01:06 PM

Ok I found a way to pass the arguments in the delete operator by a global variables like this:

#define DELETE_OLD delete

#define delete 0; while(bIsDeleteParamsPassing); bIsDeleteParamsPassing=true; chFile=(char*)__FILE__; inLineNo=__LINE__; DELETE_OLD

PARTNERS