delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/29/18:45:10.1

From: Martin Ambuhl <mambuhl AT earthlink DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: missing C++ header <limits>
Date: Tue, 29 Dec 1998 18:09:10 -0500
References: <368926D6 DOT ED264561 AT utoronto DOT ca>
X-Posted-Path-Was: not-for-mail
X-Accept-Language: en
X-ELN-Date: 29 Dec 1998 23:09:32 GMT
X-ELN-Insert-Date: Tue Dec 29 15:15:03 1998
Organization: Nocturnal Aviation
Lines: 16
Mime-Version: 1.0
NNTP-Posting-Host: 1cust248.tnt11.nyc3.da.uu.net
Message-ID: <36896116.3C39C3A1@earthlink.net>
X-Mailer: Mozilla 4.5 [en] (Win95; I)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Michael Lehotay wrote:
> 
> I've started to teach myself C++ from Stroustrup (3rd ed.), and I've run
> into a problem: there is no <limits> header file. I realize I could use
> <limits.h> instead, but what I really wanted was numeric_limits.

When there is a C header named <x.h>, the corresponding C++ header is
called <cx>.  In this case, it is <climits>.

An unfortunate problem with BS's 3rd ed is a large number of errata,
which are listing in several files at the wed site you can reach through
the URL on the back cover of your book.

-- 
Martin Ambuhl (mambuhl AT earthlink DOT net)
Note: mambuhl AT tiac DOT net will soon be inactive

- Raw text -


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