[an error occurred while processing this directive]
[an error occurred while processing this directive]
|
Когда таких штук > 1, то получится слишком грязный код:
#if MODULE1 == true
MOD1::Init();
#endif
#if MODULE2 == true
MOD2::Init();
#endif
#if MODULE3 == true
MOD3::Init();
#endif
#if MODULE4 == true
MOD4::Init();
#endif
вместо:
MOD1::Init();
MOD2::Init();
MOD3::Init();
MOD4::Init();
E-mail: info@telesys.ru