Non commettere l'errore di assimilare i tipi int (short/long signed od unsigned che siano) con gli insiemi dei Naturali o degli Interi.

Ad esempio:
In C/C++ "n+1" può essere minore di "n".

Ed è il principale motivo per cui i programmi (fatti male) in ambiente windows, in genere non reggono oltre i 50 giorni:

http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx
GetTickCount

The elapsed time is stored as a DWORD value. Therefore, the time will wrap around to zero if the system is run continuously for 49.7 days.
;-)