Hi, is it possible to inialize an array of integers(or chars or whatever) declared globally to all zeroes at compile time?
Ie. Can I write something like this int a[100] = {0} and be sure that all...
Type: Posts; User: Durafei
Hi, is it possible to inialize an array of integers(or chars or whatever) declared globally to all zeroes at compile time?
Ie. Can I write something like this int a[100] = {0} and be sure that all...
Well, my performance grows by at least 20% if I use ints instead of (long long)
Right now I'm doing the following:
long long result = (long long)a * (long long) b;
if (result > MAX_INT) then...
Hi, as far as I understand when I multiply two 32 bit integer numbers, the processor produces a 64 bit result, but then the compiler truncates the upper 32 bits to produce a 32 bit value. Is there a...