Article View: gnu.g++.help
Article #124iostream .. can't get 'cout' to work
From: Mike Stramba
Date: Wed, 12 Aug 1992 08:09
Date: Wed, 12 Aug 1992 08:09
20 lines
760 bytes
760 bytes
I'm trying to compile this huge complex program :
main()
{
cout <<"Hello there";
}
/usr/users/stramba/qwk>g++ c2.c
c2.c: In function int main ():
c2.c:3: out' undeclared (first use this function)
c2.c:3: (Each undeclared identifier is reported only once
c2.c:3: for each function it appears in.)
----------
Do I need to '#include <iostream.h>' or some other header file?
I tried to include it, apparently it's not on the system.
Mike
Technical Details
Message-ID:
<1992Aug12.080902.23487@zooid.guild.org>Path:
arc1-ca.pugleaf.net!sparky!uunet!uunet.ca!geac!zooid!strambaShow Full Headers
Complete Article Headers
Newsgroups: gnu.g++.help Path: arc1-ca.pugleaf.net!sparky!uunet!uunet.ca!geac!zooid!stramba From: Mike Stramba <stramba@zooid.guild.org> Subject: iostream .. can't get 'cout' to work Organization: ZOOiD BBS Date: Wed, 12 Aug 1992 08:09:02 GMT Message-ID: <1992Aug12.080902.23487@zooid.guild.org> Lines: 20