Mail Archives: djgpp/1999/10/03/23:53:13
If you are in your djgpp/bin directory, enter 'edit (prog.cpp), and the
editor will come up. Enter the program, by just typing it in. Save it, and
exit the editor, and do your compile. Then you just enter 'prog', and it
will run.
BTW, the compile command is 'gxx prog.cpp -o prog.exe'
Steve Hendrickson
----- Original Message -----
From: <bo AT gamewood DOT net>
Newsgroups: comp.os.msdos.djgpp
To: <djgpp AT delorie DOT com>
Sent: Sunday, October 03, 1999 8:36 AM
Subject: I am lost on something
> I am extremely new to C/C++ and DJGPP because I just now started
> learning. I have a question: how do I write C++ source files? How do I
> save a file with the .cpp extention? If I knew this, then I could just
> type
>
> gxx -o prog.exe prog.cc
>
> But I do not understand how to write the source codes..could you help in
> any way? If you could I'd appreciate it.
>
- Raw text -