For double you use long as well. For long long you need int64. Watch out with types long long in function prototypes on 64-bit since win32 and unix have different sizes for them on 64-bit (LONG=32bit on Windows, long=64-bit on Linux and long long on Linux would be 128-bit whereas on windows it is 64-bit).