www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/09/19/20:45:11

From: "Kim Seng" <Query AT singnet DOT com DOT sg>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Help in my codes.
Date: Fri, 20 Sep 2002 08:43:54 +0800
Organization: Singapore Telecommunications Ltd
Lines: 57
Message-ID: <amdqmi$36h$1@mawar.singnet.com.sg>
References: <am3jv2$vbr$1 AT reader01 DOT singnet DOT com DOT sg> <3voboug43iagagl91bk5o4buuu2is8fava AT 4ax DOT com> <am4ptt$7g0$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <am8no9$ll2$1 AT mawar DOT singnet DOT com DOT sg> <am9n2n$qb2$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <ambdit$t2j$1 AT mawar DOT singnet DOT com DOT sg> <7b68d58f DOT 0209190555 DOT 72035350 AT posting DOT google DOT com>
NNTP-Posting-Host: 203.125.49.168
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Tom" <Thomas8675309 AT yahoo DOT com> wrote in message
news:7b68d58f DOT 0209190555 DOT 72035350 AT posting DOT google DOT com...
> "Kim Seng" <Query AT singnet DOT com DOT sg> wrote in message
news:<ambdit$t2j$1 AT mawar DOT singnet DOT com DOT sg>...
> > > That's clear indication that this code is indeed assuming an
> > > old-fashioned, no longer correct version of the C++ language.
> > mmh, does that I'm on the wrong track. A bit confused now on which one
is
> > the standard.
> > #include <iostream>
> > using namespace std;
> >
> > or
> >
> > #include <iostream.h>
> >
> > Can you clarify?
>
> The first one is the standard, the second is deprecated (i.e., avoid
> using it if possible).
Thanks. I had clarified on that. :p
But it seems that the first one is a bit of the lazy type as it would
collect all the standard library in one. :p

> >
> > > If earlier books by him, and their reputation, are anything to go by,
> > > your best bet would be to throw away that book and get a useful one.
> > > The one by Stroustrup should be up to date, e.g.
> > Do you have any good book to introduce to this newbie? :p
>
> The best intro book you will find if you have previous programming
> experience in any other language is "Accelerated C++" by Andrew Koenig
> and Barbara Moo.  It will teach you the correct habits from the start.
>  If you already know C, then Bruce Eckel's "Thinking in C++" is very
> good, and you can get a free copy on the web (search google).
> Stroustrup's "The C++ Programming Language" (either 3d edition or
> special edition) is a great reference - I swear by it - but a bit
> difficult for a newbie to learn from without a more introductory book.
>  Good luck.
Tom,

With your guide, I had done a search for Stroustrup's C++ programming book
and I felt great as I had finally pieces up evrything that was taught in
this newsgroup. :p
BTW, I had pick up some links which I think that it is useful. Thanks to Dr
Stroustrup.
A few basic uses of C++ introducing its standard library
http://www.research.att.com/~bs/3rd_tour2.pdf

compatibility with C and earlier versions of C++
http://www.research.att.com/~bs/3rd_compat.pdf

One of the best lesson that I ever learned. :p
I hope that these links would help the rest.


- Raw text -


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