Trebuie sa definesti tipul ca
adica intreg lung lung fara semn.
Raze:
short int and int: -32,767 to 32,767
unsigned short int and unsigned int: 0 to 65,535
long int: -2,147,483,647 to 2,147,483,647
unsigned long int: 0 to 4,294,967,295
Sunt sigur ca IDE-ul tau pentru C++ iti afiseaza erorile.