How do I store a very big number into a variable in C? Answered
I'm using Dev-c++ (Bloodshed) and I need to store 3 billion into a variable, I already tried:
int bla = pow(10,9) * 3
long int bla = pow(10,9) * 3
long long int bla = pow(10,9) * 3
signed int bla = pow(10,9) * 3
Then I tried to modify printf, guessing it might be the print function instead of var itself, but every urr 'var argument' didn't seem to work;
But whatever I do, the max number seems to be '2147483647'.
Help pl0x, I'm confused because wiki says that 'long long int' should result in a 64 bit var, apparently not so.. (32 bit processor).
(It should be possible without fancy headers I heard)