delorie.com/archives/browse.cgi | search |
Date: | Tue, 18 May 1999 12:36:49 -0400 |
Message-Id: | <199905181636.MAA06599@delorie.com> |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
From: | Mike Fabian <mike DOT fabian AT it-mannesmann DOT de> |
To: | ssiddiqi AT ipass DOT net |
CC: | cygwin AT sourceware DOT cygnus DOT com |
In-reply-to: | <009001bea142$412e7630$29acdfd0@InspirePharm.Com> |
(ssiddiqi AT ipass DOT net) | |
Subject: | Re: bug in egcs-1.1.2? |
Reply-to: | mike DOT fabian AT it-mannesmann DOT de |
References: | <199905181520 DOT LAA17067 AT pluto DOT ipass DOT net> <009001bea142$412e7630$29acdfd0 AT InspirePharm DOT Com> |
Suhaib> Should these Suhaib> Suhaib> #include <iostream> Suhaib> #include <string> Suhaib> #include <utility> Suhaib> #include <deque> Suhaib> #include <list> Suhaib> Suhaib> Suhaib> NOT be Suhaib> Suhaib> #include <iostream.h> Suhaib> #include <string.h> Suhaib> #include <utility.h> Suhaib> #include <deque.h> Suhaib> #include <list.h> Suhaib> Suhaib> or whatever???? Both should be possible. When using <iostream> everything in there gets wrapped in the namespace std, i.e. one has to write: std::cout << str << std::endl; or alternatively: using namespace std; cout << str << endl; When one uses the old fashioned way of including <iostream.h> the std:: and `using namespace std' are not used. Mike -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |