Changeset 114 for trunk/Softwares/Test


Ignore:
Timestamp:
Apr 17, 2009, 12:35:37 AM (16 years ago)
Author:
rosiere
Message:

1) Fix bug with previous commit
2) Add test libc
3) Change Dhrystone

Location:
trunk/Softwares/Test
Files:
24 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Softwares/Test/Test_066/src/c/main.c

    r112 r114  
    1414int main()
    1515{
    16 /*   printf("Hello World !!!\n");  */
     16  printf("Hello World !!!\n");
    1717 
    18   for (int i=0; i<20; ++i)
    19     printf("i : %d\n",i);
    20    
    2118  exit (0);
    2219
  • trunk/Softwares/Test/Test_067/src/c/main.c

    r112 r114  
    1414int main()
    1515{
    16   FILE * file = fopen("Test_067.txt","w");
    17    
    18   if (file == NULL)
    19     exit (1);
    20  
    21   fprintf(file,"Hello World !!!\n");
    22  
    23   if (fclose (file) != 0)
    24     exit (2);
     16  for (int i=0; i<10; ++i)
     17    printf("i : %d\n",i);
    2518 
    2619  exit (0);
Note: See TracChangeset for help on using the changeset viewer.