#pragma once // for detecting memory leaks #ifdef _DEBUG #define _CRTDBG_MAP_ALLOC #include #include #endif // _DEBUG