🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Mike Stramba Wed, 12 Aug 1992 08:09
iostream .. can't get 'cout' to work
#124
Author: Mike Stramba
Date: Wed, 12 Aug 1992 08:09
20 lines
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	
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads