delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/03/13:57:02

From: "Damian Yerrick" <web DOT poison AT pineight DOT 8m DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: I am lost on something
Date: Sun, 3 Oct 1999 11:51:59 -0500
Organization: Rose-Hulman Institute of Technology
Lines: 21
Message-ID: <7t81n4$88h$1@solomon.cs.rose-hulman.edu>
References: <37F777ED DOT 2B048DB8 AT gamewood DOT net>
NNTP-Posting-Host: yerricde.laptop.rose-hulman.edu
X-Trace: solomon.cs.rose-hulman.edu 938969636 8465 137.112.205.146 (3 Oct 1999 16:53:56 GMT)
X-Complaints-To: news AT cs DOT rose-hulman DOT edu
NNTP-Posting-Date: 3 Oct 1999 16:53:56 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-Mimeole: Produced By Microsoft MimeOLE V5.00.2314.1300
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

<bo AT gamewood DOT net> wrote in message news:37F777ED DOT 2B048DB8 AT gamewood DOT net...
> 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.

Use any text editor other than NOTepad. Edit.com should be in
C:\DOS or C:\Windows\Command. And nowadays, C++ source
files are generally named *.cpp not *.cc

If you want to learn C, try this book:
http://bn.bfast.com/booklink/click?sourceid=9831085&is_search=Y&title=teach+
yourself+c%2B%2B+in+21+days&match=exact&options=and


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019