I'm trying to figure out how to write a function to print a 64-bit integer value.

Newer compilers have a built in 64-bit type, like in gcc its 'long long' and in Windows compilers its __int64. Anyway, I tried splitting it into 2 32-bit ints, but I can't figure out where to go from there. Any ideas?