pastebin

Paste #81936: Untitled ASCII paste by 180.169.12.34

    void * operator new(size_t size,const char* file/*=__FILE__*/,int line/*=__LINE__*/)  
      
    {  
        cout<<"new size :"<<size<<endl;  
        cout<<file<<" "<<line<<endl;  
        void * p=malloc(size);  
        return p;  
    }  
      
      
    #define new new(__FILE__,__LINE__)  
      
    int main()  
    {  
       int* p= new int ;// new (__FILE__,__LINE__) int;  
    }

Private
Wrap long lines

2 + 2 =