Discuss How to declare 64bit integer in the C Programming forum on Dev Shed. How to declare 64bit integer C programming forum discussing all C derivatives, including C#, C++, Object-C, and even plain old vanilla C. These languages are low level languages, and used on projects such as device drivers, compilers, and even whole computer operating systems.
Posts: 9
Time spent in forums: 3 h 14 m 8 sec
Reputation Power: 0
How to declare 64bit integer
i know i need to do
Code:
unsigned long long int numb;
but i get an error saying 'long' followed by 'long' is illegal"
i have an amd 64 bit cpu, but i am still using 32 bit windows.
i use visual c 6.0 to write my program(homework).
please help. appreciate it.
Posts: 3,840
Time spent in forums: 2 Months 3 Weeks 2 Days 19 h 21 m 53 sec
Reputation Power: 1774
click me
I've no idea whether your old compiler even understands __int64 as a type, but even if it does, it's not likely to be generating 64-bit instructions to take full advantage of your processor.