in reply to (tye)Re: The last command is like the break statement in C
in thread The last command is like the break statement in C
--Chris#include <stdio.h> main (int argc, char **argv) { int i; for (i = 0; i < 10; i++) { if (i == 5) continue; printf ("i = %d\n", i); } } [jcw@linux jcw]$ gcc t.c [jcw@linux jcw]$ ./a.out i = 0 i = 1 i = 2 i = 3 i = 4 i = 6 i = 7 i = 8 i = 9 [jcw@linux jcw]$
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye2)Re: The last command is like the break statement in C
by tye (Sage) on Sep 27, 2000 at 19:00 UTC | |
by tilly (Archbishop) on Sep 27, 2000 at 19:43 UTC |