Mail Archives: djgpp/1997/09/24/18:15:40
Doug Nichols <dnichols AT mail DOT ntr DOT net> 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
- Raw text -