From owner-freebsd-chat@FreeBSD.ORG Sun Apr 23 00:35:26 2006 Return-Path: X-Original-To: freebsd-chat@freebsd.org Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78A0716A400 for ; Sun, 23 Apr 2006 00:35:26 +0000 (UTC) (envelope-from benlutz@datacomm.ch) Received: from maxlor.mine.nu (c-213-160-32-54.customer.ggaweb.ch [213.160.32.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9D4443D45 for ; Sun, 23 Apr 2006 00:35:25 +0000 (GMT) (envelope-from benlutz@datacomm.ch) Received: from localhost (unknown [127.0.0.1]) by maxlor.mine.nu (Postfix) with ESMTP id B69792E0A6; Sun, 23 Apr 2006 02:35:24 +0200 (CEST) X-Virus-Scanned: amavisd-new at atlantis.intranet Received: from maxlor.mine.nu ([127.0.0.1]) by localhost (atlantis.intranet [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qGa9XbaLSACh; Sun, 23 Apr 2006 02:35:24 +0200 (CEST) Received: from mini.intranet (mini.intranet [10.0.0.17]) by maxlor.mine.nu (Postfix) with ESMTP id 862142E01B; Sun, 23 Apr 2006 02:35:24 +0200 (CEST) From: Benjamin Lutz To: freebsd-chat@freebsd.org Date: Sun, 23 Apr 2006 02:35:18 +0200 User-Agent: KMail/1.8.3 References: <200604221511.k3MFBxa2003218@mist.nodomain> <200604230203.05209.benlutz@datacomm.ch> <444ACA9E.5060602@hotlz.com> In-Reply-To: <444ACA9E.5060602@hotlz.com> X-Face: $Ov27?7*N,h60fIEfNJdb!m,@#4T/d; 1hw|W0zvsHM(a$Yn6BYQ0^SEEXvi8>D`|V*F"=?iso-8859-1?q?=5F+R=0A?= 2@Aq>+mNb4`,'[[%z9v0Fa~]AD1}xQO3|>b.z&}l#R-_(P`?@Mz"kS; XC>Eti,i3>%@g?4f,=?iso-8859-1?q?=5Cc7=7CGh=0A?= =?iso-8859-1?q?_wb=26ky=24b2PJ=5E=5C0b83NkLsFKv=7CsmL/cI4UD=25Tu8alAD?= MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1559741.3E7pTcsqPA"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200604230235.21572.benlutz@datacomm.ch> Cc: Don Dugger , Dan Strick Subject: Re: Why is not more FreeBSD software written in C++? X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Apr 2006 00:35:26 -0000 --nextPart1559741.3E7pTcsqPA Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Sunday 23 April 2006 02:30, Don Dugger wrote: > Am I missing something here? What's the difference between > test_iostream.cpp and test_string.cpp? Oh. Sorry about that. Here's the proper test_string.cpp: test_string.cpp ---- #include #include using namespace std; int main(int argc, char** argv) { string buf; for(int i = 0; i < 50000; i++) { buf.clear(); for (int j = 0; j < 60; j++) { buf.push_back('.'); } buf.push_back('\n'); cout << buf; } return 0; } ---- Cheers Benjamin --nextPart1559741.3E7pTcsqPA Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQBESsvJgShs4qbRdeQRAkahAJ9xiSKSVbHERlq/aODWaHudUN1X7QCffpOC dLdr1BLTh7IdXeClMKUTno8= =nfgG -----END PGP SIGNATURE----- --nextPart1559741.3E7pTcsqPA--