Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Originating-IP: [128.54.220.195] X-Originating-Email: [yupeng_ AT hotmail DOT com] From: "Peng Yu" To: Subject: g++ error Date: Sat, 28 Jun 2003 09:36:52 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: X-OriginalArrivalTime: 28 Jun 2003 16:37:04.0477 (UTC) FILETIME=[81DD80D0:01C33D93] Hi, When I tried to compile this file by g++, I got a error. #include int main(){ cout << "Hello World" << endl; } errors are: test.C: In function `int main()': test.C:3: `cout' undeclared (first use this function) test.C:3: (Each undeclared identifier is reported only once for each function it appears in.) test.C:3: `endl' undeclared (first use this function) Do I need to install some library? Peng -- 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/