Hello,

>      int main ()
>        {
>          int i;
>          while (i < 25000)
>          printf ("%d\n", i);
>        } 

Create a file called "test.c" and add these lines:

#include <stdio.h>

int main (int argc, char *argv[])
{
        int i = 0;
        
        while (i < 25000) {
                printf("%d\n", i++);
        }

        return 0;
}


Now compile the program with this command:

gcc -Wall -o test test.c


If compilation was successful, run he program:

./test


_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to