> const long long n = 34359738368; // 2^35 > > Got: > max.cpp:1: error: integer constant is too large for "long" type Append "LL" to the constant. -- Eric Botcazou