bug in egcs-1.1.2?
Mike Fabian
mike.fabian@it-mannesmann.de
Tue May 18 09:36:00 GMT 1999
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@sourceware.cygnus.com
More information about the Cygwin
mailing list