Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 6th, 2012  |  syntax: None  |  size: 0.15 KB  |  hits: 10  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Defining datatypes in loop
  2. int i;
  3. for(i=0;i<10;i++){
  4. float b = 25.2;
  5. float c;
  6. c=b+i;
  7. }
  8.        
  9. int i,j;
  10. for ( i=0;i<count;i++ )
  11. {
  12.     int j;
  13.     // stuff
  14. }