lach mal wieder:
// loop forever
for( unsigned __int64 i = 1; i !=0; i++ )
// do something that takes about 1/100 sec.
kind of hard to argue that it’ll ever finish but…
Won’t it finish when it overflows?
Yes, in about (UNSIGNED_INT_64_MAX / 100) seconds – a little under six billion years.