delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/15/01:16:47

From: "F. Hayashi" <hayashi AT u DOT washington DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Oi vey! Help this newbie!
Date: Sun, 14 Sep 1997 18:09:49 -0700
Organization: University of Washington
Lines: 58
Message-ID: <Pine.A41.3.96a.970914180328.25734A-100000@dante30.u.washington.edu>
NNTP-Posting-Host: dante30.u.washington.edu
Mime-Version: 1.0
NNTP-Posting-User: hayashi
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I thought I'd teach myself C++, heck, there's enough FAQs and tutorials to
fill a library.

I've installed the following parts of DJGPP:
bnu281b.zip
djcrx201.zip
djdev201.zip
djlsr201.zip
djtst201.zip
faq210b.zip
gcc2721b.zip
gpp2721b.zip
lgp271b.zip
mak375b.zip
thide13b.zip
txi390b.zip

and the tutorial:
cptuts22.zip
cptutt22.zip

I've read a good chunk of the read.me's and the FAQ and the tutorial and
some of the INFO files.  The 'Hello world!" program from the readme
compiles and runs properly.

Now, the part that I'm stuck at.

Running through the tutorial, the first proram is a c++ program that uses
the iostream.h header (I think I'm using the terminology correctly, but
point it out if I'm not).

This sucker does not compile correctly, either with command line
(gcc concom.cpp -o concom.exe) or under RHIDE.

I get a big list of error messages, having something to do with cout and
such.

I thought I had all the c++ specific library stuff properly installed, but
is that the problem?

Is there a little switch on gcc?

The INFO files mention a g++, which does not appear anywhere on the
distributions I have.

Help!

(so much traffic on this newsgroup, e-mail replies will be appreciated)

Domo arigato in advance.

+---------------------------------------------------------------------+
I Fumitaka Hayashi    http://www.geocities.com/capecanaveral/lab/4315 I
I <hayashi AT u DOT washington DOT edu> http://weber.u.washington.edu/~hayashi   I
I Aderem Lab   -   Dept. of Immunology   -   University of Washington I
+---------------------------------------------------------------------+


- Raw text -


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