[wplug] C code problem

Matthew Danish mdanish at andrew.cmu.edu
Wed Oct 23 16:29:17 EDT 2002


On Wed, Oct 23, 2002 at 04:05:30PM -0400, Henry Umansky wrote:
> #include <stdio.h>
> 
> int main() {
> int i;
> 
> for(i=0;i<100000000000;i++)

100 billion is a bit large for an int, isn't it?

>         if(i%100000==0)
>         printf("%d : %d\r", i, i);
> }

-- 
; Matthew Danish <mdanish at andrew.cmu.edu>
; OpenPGP public key: C24B6010 on keyring.debian.org
; Signed or encrypted mail welcome.
; "There is no dark side of the moon really; matter of fact, it's all dark."



More information about the wplug mailing list