[ Date Index ][
Thread Index ]
[ <= Previous by date /
thread ]
[ Next by date /
thread => ]
Hi! Try this: #include <iostream> using namespace std; // << This is probably what you are missing int main () { cout << "Hollow World" << endl; return 0; } Clive -----Original Message----- From: PeterPETERLJ@xxxxxxx To: list@xxxxxxxxxxxx Sent: 06/02/2004 09:42 Subject: [LUG] GCC and C++ Hi Newbie Here Havinng discovered GCC on my Red Hat system just had to try "Hello World". Works fine with printf, but for the life of me can not get cout to work. I have tried #include just about everything less the kitchen sink! (With a .h or without). I must be doing somthing really simple and stupid! Any comments gladly recieved. Peter ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ -- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe.