Mail Archives: djgpp/1998/04/12/12:00:22
On Sat, 11 Apr 1998 18:26:13 GMT, ptwitche AT eznet DOT net (Ryan Twitchell)
wrote:
> Thanx to everyone who helped me with my last problem. But now
> I've got more problems. When ever I try to compile something now, I
> get the message :
> "Bad command or file name" (like in DOS)
> but the program still compiles. Also, if I try to include my own
> header file in a project (in the project window, a source file, or
> both), the compiler gives me an error saying: "Multiple definition of
> main"
You should not include the header file in the project window, only in
the .c file. If you still get a "Multiple definition of main": did you
perhaps define the main function in the header file?
> I hope an IDE is worth all this trouble cuz I've got an
> enormous headache!
Hmm, did you try compiling and linking without the IDE and did it work?
Regards...
Michael
- Raw text -