Changeset 26 for trunk/hello.c
- Timestamp:
- Apr 18, 2014, 8:10:14 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hello.c
r6 r26 1 /* Copyright (C) 2014 by Mattia Monga <mattia.monga@unimi.it> */ 2 /* $Id$ */ 3 1 4 #include <stdio.h> 2 #include <unistd.h>3 #include <stdlib.h>4 5 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); 6 int main(){ 7 printf("Ciao %d %s", 5, "mamma"); 8 asm("mov eax, 0"); 9 return 0; 12 10 } 11 12 /* Local Variables: */ 13 /* compile-command: "make -k " */ 14 /* End: */
Note:
See TracChangeset
for help on using the changeset viewer.