Message-ID: <004401c071f0$bec5d5e0$0500a8c0@brk> From: "Johan Henriksson" To: Subject: Re: Follow up to 'Rookie question' Date: Sat, 30 Dec 2000 00:39:26 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Reply-To: djgpp AT delorie DOT com from: Johan Henriksson, leadprogrammer @ www.realsoftware.cjb.net "The individual should be praised for it's struggle, the society condemned for it's actions" - me 1997 #12035895 ---------------------------------------------------------------------------- ------------------- >Some one requested that I post my source code that was giving me trouble. Well, >so far none of them have worked but here is the simplest one: >#include >#include > >int main(int arg, char* pszArgs[]) ehm? What kind of declaration is that? Well, I'm no CC-guy so I shouldn't comment on it... >{ > > cout << "This is a test"; > return 0; > exit (0); Why are you exiting two times??? >} > >The message window at the bottom says: >compiling: tester.cpp >bad command or file name >no errors > >And when I try to run I get a window that says: >Program exit code: -1 (0xffffffff) With reservation of having little experience with installations but I think yours is broken. Have you set the path correctly? Try just writing "gcc" in the console and see if it complains the same way. Hm.. GCC was used for CC, wasn't it? (really showing my knowledge in the inners of DJGPP ;) Hope it helped in some way...