Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: for loop localisation bug?(C For Loop)

by MADuran (Beadle)
on Dec 29, 2003 at 21:24 UTC ( #317557=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for(int i=0; i < 100; i++){
       /*do some thing with i */
       printf("this is i: %d", i);
    }
    
  2. or download this
    {
       int i;
    ...
           printf("this is i: %d", i);
       }
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://317557]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2017-04-30 23:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (543 votes). Check out past polls.