Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #5250

Re: About C and C++

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Richard Heathfield <rjh@cpax.org.uk>
Newsgroups comp.programming
Subject Re: About C and C++
Date Tue, 24 Feb 2015 23:42:19 +0000
Organization go, ion artisan!
Lines 23
Message-ID <mcj27j$vbe$1@dont-email.me> (permalink)
References <mcis56$4gp$3@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Tue, 24 Feb 2015 23:41:39 +0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="bbec9967c55d39f11ca29ee1f0b15ce1"; logging-data="32110"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+FBXuC94Lw5LiOcpPMfUvyh8TPq/oc3TPUNdgSKficWw=="
User-Agent Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
In-Reply-To <mcis56$4gp$3@dont-email.me>
Cancel-Lock sha1:JlyYZDg7O0rc4uN+uUl/rtS4WI0=
Xref csiph.com comp.programming:5250

Show key headers only | View raw


On 25/02/15 00:59, Ramine wrote:

<snip>

> what i don't like in C is that if you want to group efficiently
> functions and some propoerties that are shared inside an
> object , you can not do that efficiently as can do Object Pascal
> or C++,

Well, you can, actually. C has this thing called a function pointer.

> if you are writing in C you have to use global variables,

That's complete nonsense, and is a clear sign that you don't know how to 
use C.

<snip>

-- 
Richard Heathfield
Email: rjh at cpax dot org dot uk
"Usenet is a strange place" - dmr 29 July 1999
Sig line 4 vacant - apply within

Back to comp.programming | Previous | Next | Find similar | Unroll thread


Thread

Re: About C and C++ Richard Heathfield <rjh@cpax.org.uk> - 2015-02-24 23:42 +0000

csiph-web