From: dvdeug@x8b4e53cd.dhcp.okstate.edu (David Starner)
Subject: Re: bitwise comparators
Date: 2000/01/17
Date: 2000-01-17T00:00:00+00:00 [thread overview]
Message-ID: <8607rg$8qa1@news.cis.okstate.edu> (raw)
In-Reply-To: 38838846.2787AD1A@hotmail.com
[It would be easier if you kept lines below 75-80 characters.
Thanks.]
On Mon, 17 Jan 2000 22:23:18 +0100, Alexander Van Hecke <alexke@hotmail.com> wrote:
>>
>> C has access control? Where?
>
>the items you put in a struct are default public.
>private is a C keyword though. It
>is perfectly possible to hide some data items.
No, private is not a ISO C89 keyword. My books don't
mention it, and gcc (an ISO C compiler) gives a parse
error for struct bob {private: int a;}; it gives no
error for struct bob {int private;};, which it should
if private is a reserved word. I think you've been
confused by a bad C/C++ compiler.
>but I'd say it's the ability of a language to be _able_ to program
>everything you want to, _even if the language was not designed to solve
>the problem you're trying to solve_! In this way Prolog is a very
>powerful language for AI programs, but it's really poor when it comes to,
>let's say, string manipulation.
That's a bad definition. Computing theory says the problems you can solve
with Bourne shell scripts is exactly equal to the problems you can solve
in C or Prolog or Intercal or an assembly language with one instruction
(decrement and jump if zero.)
>I know with certainty that the first couple of versions of the GNU C++
>compiler, which is by the way a very respected and widespread compiler,
>did just that : converting C++ to C and then compiling this code with
>the usual gcc compiler.
No. cfront (an early C++ compiler by Stroustroup) did that, but the GNU
C++ compiler has always been a native compiler.
>I rephrase : 'any C++ code can be translated
>to C code'.
Any C++ code can be translated to Lisp or Ada, too. But you said it could
be done easily, which is the contestable point.
--
David Starner - dstarner98@aasaa.ofe.org
If you wish to strive for peace of soul then believe;
if you wish to be a devotee of truth, then inquire.
-- Friedrich Nietzsche
next prev parent reply other threads:[~2000-01-17 0:00 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-15 0:00 bitwise comparators Alexander Van Hecke
2000-01-15 0:00 ` David C. Hoos, Sr.
2000-01-16 0:00 ` DuckE
2000-01-17 0:00 ` Alexander Van Hecke
2000-01-17 0:00 ` David C. Hoos, Sr.
2000-01-17 0:00 ` tmoran
2000-01-17 0:00 ` Mike Silva
2000-01-17 0:00 ` Alexander Van Hecke
2000-01-17 0:00 ` David Starner
2000-01-17 0:00 ` Gautier
2000-01-17 0:00 ` Mike Silva
2000-01-18 0:00 ` Charles Hixson
2000-01-17 0:00 ` Brian Rogoff
2000-02-05 0:00 ` Ashley Deas Eachus
2000-02-05 0:00 ` Jeff Carter
2000-02-06 0:00 ` Andy
2000-02-07 0:00 ` Brian Rogoff
2000-02-09 0:00 ` Robert Iredell Eachus
2000-01-17 0:00 ` Gautier
2000-01-18 0:00 ` Keith Thompson
2000-01-19 0:00 ` Ole-Hjalmar Kristensen
2000-01-17 0:00 ` Matthew Heaney
2000-01-17 0:00 ` Jeff Carter
2000-01-17 0:00 ` Alexander Van Hecke
2000-01-17 0:00 ` David Starner
2000-01-17 0:00 ` Alexander Van Hecke
2000-01-17 0:00 ` David Starner [this message]
2000-01-18 0:00 ` Preben Randhol
2000-01-18 0:00 ` Fraser
2000-01-18 0:00 ` Bertrand Augereau
2000-01-19 0:00 ` Ted Dennison
2000-01-19 0:00 ` Marin D. Condic
2000-01-19 0:00 ` Ted Dennison
2000-01-18 0:00 ` Ted Dennison
2000-01-17 0:00 ` Gautier
2000-01-17 0:00 ` Alexander Van Hecke
2000-01-17 0:00 ` David Starner
2000-01-18 0:00 ` Gautier
2000-01-18 0:00 ` Ted Dennison
2000-01-18 0:00 ` Jeff Carter
2000-01-18 0:00 ` Keith Thompson
2000-01-19 0:00 ` Jeff Carter
2000-01-19 0:00 ` David Starner
2000-01-19 0:00 ` Keith Thompson
2000-01-19 0:00 ` Ole-Hjalmar Kristensen
2000-01-19 0:00 ` Gisle S�lensminde
2000-01-18 0:00 ` Pascal Obry
2000-01-21 0:00 ` Ada vs. C/C++ (was re: bitwise something-or-other) Mark Lundquist
2000-01-21 0:00 ` Mark Lundquist
2000-01-24 0:00 ` Hyman Rosen
2000-01-18 0:00 ` bitwise comparators Ted Dennison
2000-01-18 0:00 ` DuckE
2000-01-16 0:00 ` Matthew Heaney
2000-01-16 0:00 ` Bryce Bardin
2000-01-16 0:00 ` Jeff Carter
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox