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 From: "Dockeen" To: Subject: RE: linking problem, please help Date: Mon, 23 Dec 2002 09:10:32 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Well, in your code: > >#include > > > > int main() > > { > > cout<<"\n hello world"; > > return 0; > > } I see one thing wrong. The cout functions name comes from the standard namespace, so you either have to add: using namespace std; or qualify the name, i.e. std::cout I don't know if that is causing your specific problem, but I would give it a shot. When I am compiling test code by the way, I will just do g++ test.cpp and let it throw my code into a.exe, but I am also lazy. Wayne -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/