From: "Laine" Newsgroups: comp.os.msdos.djgpp Subject: Re: help please Date: 24 Sep 1997 13:15:15 GMT Organization: *** Lines: 28 Message-ID: <01bcc9b3$c07eddc0$443e64c2@default> References: <3428D48E DOT 512 AT mail DOT ntr DOT net> NNTP-Posting-Host: dialup203.iwn.fi To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Doug Nichols wrote in article <3428D48E DOT 512 AT mail DOT ntr DOT net>... > I'm a beginner in programming with C, and I am using DJGPP. Here's my > problem. Every time I compile and run a program, I can't go back and > re-edit it. For some reason my editor has problems opening it. Does > anyone know how to maintain the same source code file, after compiling > and running a program?? > I'm not sure if you compile already like this, but this is how I do (and it doesn't make any changes in the source code. Use the command: gcc file.c -o file.exe (where file.c is the source and file.exe the executable.) There's an other way too. Use Rhide (the latest version) and run your program by selecting RUN/RUN at the top of the screen. The source file should stay where it is (file.c) and you should be able to edit it. PS. I'm new too and I really think this is a great place to find information. If it doesn't work, mail me laine AT ks DOT iwn DOT fi or ask someone else here at this newsgroup Jarkko