Alex Bikfalvi
SimWorker Documentation
Headers.h
00001 #pragma once 00002 00003 #ifdef WIN32 00004 #define WIN32_LEAN_AND_MEAN 00005 #endif 00006 00007 // Definitions for memory allocation debugging CRT library 00008 #if defined(WIN32) && defined(_DEBUG) 00009 00010 #define _CRTDBG_MAP_ALLOC 00011 #define _CRT_RAND_S 00012 00013 #include <crtdbg.h> 00014 00015 #endif 00016 00017 #include <stdlib.h> 00018 #include <assert.h> 00019 #include <time.h> 00020 #include <math.h> 00021 #include <iostream> 00022 #include <fstream> 00023 #include <sstream> 00024 #include <map> 00025 #include <list> 00026 #include <vector> 00027 #include <algorithm> 00028 00029 using namespace std; 00030 00031 //#define WORKER_PRIORITY 00032 00033 // Redefintion of new operator to include debugging information 00034 #if defined(WIN32) && defined(_DEBUG) 00035 #define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__) 00036 #define new DEBUG_NEW 00037 #endif
Last updated: February 8, 2011