Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Miles Bader Newsgroups: comp.lang.c++ Subject: Re: Generally, are the programs written by C++ slower than written by C 10% ? Date: Fri, 09 Sep 2011 15:25:02 +0900 Organization: NEC Electronics Lines: 18 Message-ID: References: <4e61c07d$0$3061$7b1e8fa0@news.nbl.fi> <875f9e1f-79f1-49fa-8667-f440e8cc4c69@fd21g2000vbb.googlegroups.com> <9cknhoF72aU1@mid.individual.net> Mime-Version: 1.0 Content-Type: text/plain X-Trace: individual.net p0Nx6yaMeBnhwqvvVoU6iQTol9DLhJw/sBdKHIBrDrN2z7hsQN Cancel-Lock: sha1:vljAL4/IpzPm5RIxF5BpoIojMxI= sha1:O2C4yIgXQsOBypwL3K/Iq12/1Qo= System-Type: x86_64-unknown-linux-gnu Blat: Foop Xref: x330-a1.tempe.blueboxinc.net comp.lang.c++:9957 BGB writes: > FWIW, there are also "getc();" and "fgetc(stdin);" which are at least > more standard, but are also C-style, unlike "cin.get();" which is more > properly C++ (by whatever logic this makes sense, I don't get people > sometimes, as everything works either way, but whatever...). > > but, stdio vs iostreams is another long and eventually pointless debate... No doubt, but it does make sense in many cases to at least prefer one or another, because _mixing_ them can be problematic and/or inefficient. -Miles -- Alliance, n. In international politics, the union of two thieves who have their hands so deeply inserted in each other's pockets that they cannot separately plunder a third.