Message-ID: <003401bf0e14$594b38e0$661d64d8@stevenhe> From: "Steven C. Hendrickson" To: References: <37F777ED DOT 2B048DB8 AT gamewood DOT net> Subject: Re: I am lost on something Date: Sun, 3 Oct 1999 19:58:32 -0700 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 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Reply-To: djgpp AT delorie DOT com 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: Newsgroups: comp.os.msdos.djgpp To: 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. >