Message-ID: <345A3DE3.203A@virgin.net> Date: Fri, 31 Oct 1997 20:21:55 +0000 From: Graham & Dina MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: help a newbie please :) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk First off apologies for half written email sent to list earlier today :) I am still attempting to get djgpp and Rhide up and running together in unison I have tried entering a simple beginner's program into Rhide..(below) and then attempted to compile and run them When I compile the program I get the following three lines come up: Compiling: samp.c Bad command or file name no errors then if I attempt to run it I get: Program exit code: 0 (0x0000) then after clicking OK bottom box changes black with header 'contents of stderr from samp.exe...with just bad command or file name below any ideas please????? thanks in advance Graham /* Program to find factorial of 6 */ #include #define VALUE 6 int i,j; void main() { j=1; for (i=1; i<=VALUE; i++) j=j*i; printf("The factorial of %d is %d\n",VALUE,j); }