PDA

View Full Version : format not recognuzed



fastim87
03-23-2002, 01:23 PM
i got this error message when i tried to compile my project:


C:\MYDOCU~1\RSRC.o: file not recognized: File format not recognized

all i did was add the iostream.h include and write a stupid little for loop. I didn't add any includes to the resource file or anything. this is the first time this has happened. please help. :(

Brian
03-23-2002, 01:27 PM
It means you have to reformat your brain.

fastim87
03-23-2002, 01:30 PM
??? seriously, i'm lost on this (only my third attempt at writing a program):confused:

Brian
03-23-2002, 01:31 PM
What compiler are you using?
What commands are you using to compile your code?

fastim87
03-23-2002, 01:37 PM
I am using bloodshed dev 4. the whole source to my code is as follows:


#include <stdio.h>
#include <iostream.h>

int main(int argc, char *argv[])
{
int x;
for (x=0; x<100; x++)
{
cout<<x<<endl;
}
return 0;
}

Brian
03-23-2002, 01:38 PM
So you save it, go to the compile menu, and select compile?

fastim87
03-23-2002, 01:44 PM
i saved everything then compiled and still got

C:\MYDOCU~1\RSRC.o: file not recognized: File format not recognized


:(