Message-ID: <20001025061123.57885.qmail@web9504.mail.yahoo.com> Date: Tue, 24 Oct 2000 23:11:23 -0700 (PDT) From: Nimrod Abing Subject: Re: Undefined Reference to "cout" in Hello.cpp To: djgpp AT delorie DOT com Cc: demibee AT post DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Reply-To: djgpp AT delorie DOT com --- demibee wrote: > I've been using DJGPP as a backup C/C++ compiler for a year or so. > Last night I downloaded the most recent ZIPs for use in DOS. I'm > finding that I have no trouble with C programs. C++ is a different > story. Using... > > C:\> gcc hello.cpp -o hello.exe Try: gcc hello.cpp -o hello.exe -lstdcxx or, gxx hello.cpp -o hello.exe ===== _nimrod_a_abing_ +------------------------------------------------------------+ | Homepage: http://www.geocities.yahoo.com/n_abing/index.htm | +------------------------------------------------------------+ __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/