RE: Problem with gtk



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





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]