View Single Post
Old Jun 4th, 2005, 6:29 PM   #1
MrSpecial
Newbie
 
Join Date: Jun 2005
Posts: 7
Rep Power: 0 MrSpecial is on a distinguished road
Compiling Error with Dev-C++

I am having a problem with my program compiling using the Dev-C++ compiler. I have never had this problem before today.

For some reason, my program will not compile; here is the code that I am using.

[PHP]#include <stdio.h>
main() {
int count;
count=0;

while(count<100){
++count;
printf("Count = %d\n",count);}
printf("The final count is %d\n",count);
scanf(" ");
} [/PHP]

I have used that same exact coding from another program I made, and have had no problem with it. I know its the same, because I copied it directly from the other program. I am able to compile and run the old program just fine; but I am not able to compile my new program. I can save the source file, but not compile it. When I try to compile it, I get the following error:

Quote:
The system cannot find the file specified
I have tryed saving the source file quite a few times. I am not sure if I am saving it incorrectly, or what. Does anyone know how this problem can be fixed?

Thanks in advance.
MrSpecial is offline   Reply With Quote