This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: iostream


On 07 December 2006 13:02, Matthias Blaickner wrote:

> Hi everybody
> 
> I have problems with cygwin supporting iostream.h I
> use g++ as compiler and I'm told to remove the .h
> suffix from the header. doing so results in error
> messages about unknown functions.

  'cout' and 'endl' live in the std:: namespace these days.  Either add a
'using namespace std;' declaration or prefix each usage.

  This is a generic C++ programming question and would be better on a C++
coding mailing list, since it isn't specific to cygwin but would be exactly
the same with any C++ compiler on any platform.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]