Being on TV

Søren Knudsen EMAIL HIDDEN
Thu Oct 11 08:55:23 CEST 2007


> S?ren Knudsen schreef:
> > Now, crosscompile this:
> >
> > int main()
> > {
> >     for (int i = 0; i < 100; i++)
> >         cout << " Jay; You did a good job;)" << endl;
> >     return 0;
> > }
> 
> Easy:
> 
>      public class Test
>      {
>          public static void main( String[] args )
>          {
>              for( int i : new int[100] )
>                  System.out.println( "Jay; You did a good job;)" );
>          }
>      }
> 
> Perfectly legal Java. :)

And what architecture besides the Java Virtual Machine would you compile this
to (and why)?

- S?ren



More information about the music-bar mailing list