cpp_printMemory function

The software has to be compiled with -DRAVE_MEMORY_DEBUG and without -DNO_RAVE_PRINTF. Manual handling for now.