Ignore:
Timestamp:
01/23/06 18:34:47 (18 years ago)
Author:
mattausch
Message:

construction method for view cells

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/src/main.cpp

    r556 r570  
    2121#define USE_EXE_PATH false 
    2222 
    23  
     23#include <crtdbg.h> 
    2424 
    2525 
     
    2828main(int argc, char **argv) 
    2929{ 
     30         
     31//Now just call this function at the start of your program and if you're 
     32//compiling in debug mode (F5), any leaks will be displayed in the Output 
     33//window when the program shuts down. If you're not in debug mode this will 
     34//be ignored. Use it as you will! 
     35//note: from GDNet Direct [3.8.04 - 3.14.04] void detectMemoryLeaks() { 
     36    _CrtSetDbgFlag(_CRTDBG_LEAK_CHECK_DF|_CRTDBG_ALLOC_MEM_DF); 
     37    _CrtSetReportMode(_CRT_ASSERT,_CRTDBG_MODE_FILE); 
     38    _CrtSetReportFile(_CRT_ASSERT,_CRTDBG_FILE_STDERR);  
     39 
    3040  Debug.open("debug.log"); 
    3141  environment = new Environment; 
Note: See TracChangeset for help on using the changeset viewer.