Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Nov 2002 18:51:28 -0500
From:      Craig Rodrigues <rodrigc@attbi.com>
To:        Cy Schubert - CITS Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>
Cc:        freebsd-current@freebsd.org
Subject:   Re: C++ Issue On -CURRENT
Message-ID:  <20021130185128.A5959@attbi.com>
In-Reply-To: <200211302348.gAUNm09V012697@cwsys.cwsent.com>; from Cy.Schubert@uumail.gov.bc.ca on Sat, Nov 30, 2002 at 03:48:00PM -0800
References:  <200211302348.gAUNm09V012697@cwsys.cwsent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 30, 2002 at 03:48:00PM -0800, Cy Schubert - CITS Open Systems Group wrote:
> I've been working on getting the tripwire port to build on -CURRENT. 
> Through this process I've stumbled across an issue. Searching through 
> the mailing lists, I haven't found a solution to this.
> 
> The following program builds and runs under 4.7-STABLE:
> 
> #include <iostream>
> 
> int main()
> {
>         cout<<"Hello World\n";
> }

Should be:

         std::cout<<"Hello World\n";

Pick up a good C++ book like Stroustrup's  C++ Programming Language
( http://www.research.att.com/~bs/3rd.html ), and learn about
the std namespace.

-- 
Craig Rodrigues        
http://www.gis.net/~craigr    
rodrigc@attbi.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021130185128.A5959>