I started learning programming, and I downloaded a recommended Dev-C++ compiler and editor.
This is what I put in for Hello World program:
All compiles correctly and then I press Run and it just pops up in the black cmd window for a fraction of a second and disappears.
Anybody have this problem how do I fix it?
Then the book has an exercise program so i thought I'd try it and see if that worked:
for ( x = 0; x < 10; x++, printf( "\n" ) )
for ( y = 0; y < 10; y++ )
printf( "X" );
same thing happens... pops up in a cmd window for less than second, i cant catch if it says what it's supposed to
I couldn't find this anywhere on google
lol i managed to take a screenshot after like 100 tries
but it's too big to attach here