My bad, THIS was the code that I was using:
Here was the result:
// Counter.c - Test code for new C/C++ compiler installations // Counts from 1 to 1,000 via C through Bloodshed Dev-C++ v4.9 // (c)2007, Robert A. Morin, RAM Digital Media // Intial variables #include <stdio.h> #include <conio.h> // Start Code int main() { printf ("RAM Digital Media - Compiler Test - Counter v1.0 Beta\n"); printf ("(c)2007, Robert A. Morin\n"); printf ("----------------\n\n"); printf ("Press <ENTER> to Start Test Program: \n"); getch(); int x; { printf ("X = %i\n", x); x=0;x<1001;x++; x = x + 1; } printf ("Press <ENTER> to Return to Prompt: \n"); getch(); return 0; }
Here was the result: