Helping in chat. The problem is that when he runs the program it shows the console prompt quickly and then exits. This is because its a console program and needs to be run from the console. If you want to see the output when you run from Bloodshed Dev C++ you need to add a pause in there that will keep the program running until you press any key. This can be done via:
CODE
#include <stdio.h>
int x, y;
int main (void )
{
for (x=0; x<10; x++, printf ("\n") )
for (y=0; y<10; y++)
printf( "%c", 1 );
system("PAUSE");
return 0;
}
The
system("PAUSE"); will pause the program till you press any key allowing you to see the output from the console program.