source:
trunk/hello.c@
16
| Last change on this file since 16 was 6, checked in by , 15 years ago | |
|---|---|
| File size: 180 bytes | |
| Rev | Line | |
|---|---|---|
| [6] | 1 | #include <stdio.h> |
| 2 | #include <unistd.h> | |
| 3 | #include <stdlib.h> | |
| 4 | ||
| 5 | int main(void){ | |
| 6 | int i; | |
| 7 | for (i=0; i<10; i++){ | |
| 8 | printf("Hello world! (%d)\n", i+1); | |
| 9 | sleep(1); | |
| 10 | } | |
| 11 | exit(0); | |
| 12 | } |
Note:
See TracBrowser
for help on using the repository browser.