06.02.2012, 13:35
(
Последний раз редактировалось Gamer_Z; 06.02.2012 в 14:07.
)
good post, I sometimes messed around and created an infite loop (however it did 108 calls and got the error ), the function was calling itself. This can eventually lead to same kind of stack/heap problems. Just for people to know.
Mhm I rather knew this, that is why I use the CSTL vector plugin to handle large storage.
ByTheWay, didn't I read somewhere that #pragma dynamic won't help...?
Hmm. If I get such a message I always calculated the 2n bytes, so in a case where
26894935 is required I allocated in #pragma dynamic
33554432 bytes. (2x2x2....)
Mhm I rather knew this, that is why I use the CSTL vector plugin to handle large storage.
ByTheWay, didn't I read somewhere that #pragma dynamic won't help...?
Hmm. If I get such a message I always calculated the 2n bytes, so in a case where
26894935 is required I allocated in #pragma dynamic
33554432 bytes. (2x2x2....)