I have an open-source codebase that is written in both C and C++. I\'m looking for an integer type that is guaranteed to be at least 64 bits wide, which can be reli
Use int64_t. int64_t means 64 bits and you'll get 64 bits wherever you go. long long is actually as implementation dependent as long is. That is, a long long has to be bigger than or equal to a long, but that could be different depending on the compiler and platform.