From: "David List" Newsgroups: alt.comp.lang.learn.c-c++,comp.os.msdos.djgpp Subject: Where is ? MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" 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 Message-ID: <5xi03.345$UW4.518@news.get2net.dk> Date: Tue, 18 May 1999 20:39:54 +0200 NNTP-Posting-Host: 195.82.217.14 X-Complaints-To: abuse AT get2 DOT net X-Trace: news.get2net.dk 927052993 195.82.217.14 (Tue, 18 May 1999 20:43:13 MET DST) NNTP-Posting-Date: Tue, 18 May 1999 20:43:13 MET DST Organization: get2net Internet Kunde Lines: 56 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id HAB20672 Reply-To: djgpp AT delorie DOT com Iīm learning from Ivor Hortonīs "Beginning C++" and using djgpp with RHIDE. When I try out Mr. Hortonīs directions for getting the minimum and maximum size of types, I get an error message telling me: Error: limits: No such file or directory (ENOENI). Could someone please tell me what the reason for this could be? Here is the code that gives me this problem. It is almost the same as in Mr. Hortonīs 'Program 3.3': #include #include using namespace std; int main() { cout << "The data type char ranges from" << numeric_limits::min() << " to " << numeric_limits::max() << endl; cout << "The data type short ranges from" << numeric_limits::min() << " to " << numeric_limits::max() << endl; cout << "The data type int ranges from" << numeric_limits::min() << " to " << numeric_limits::max() << endl; cout << "The data type long ranges from" << numeric_limits::min() << " to " << numeric_limits::max() << endl; cout << "The data type float ranges from" << numeric_limits::min() << " to " << numeric_limits::max() << endl; cout << "The data type double ranges from" << numeric_limits::min() << " to " << numeric_limits::max() << endl; cout << "The data type long double ranges from" << numeric_limits::min() << " to " << numeric_limits::max() << endl; return 0; } -- Med venlig hilsen/Best regards David List