The following code:Code:inline void * __cdecl operator new(unsigned int size, const char *file, int line) { void *ptr = (void *)malloc(size); AddTrack((DWORD)ptr, size, file, line); return(ptr); };
gives meWhy?Code:error: declaration of `operator new' as non-function