comp.lang.ada
 help / color / mirror / Atom feed
From: Ted Dennison <dennison@telepath.com>
Subject: Re: bitwise comparators
Date: 2000/01/18
Date: 2000-01-18T00:00:00+00:00	[thread overview]
Message-ID: <86214l$9uo$1@nnrp1.deja.com> (raw)
In-Reply-To: 388394E0.55D1E913@maths.unine.ch

In article <388394E0.55D1E913@maths.unine.ch>,
  Gautier <gautier.demontmollin@maths.unine.ch> wrote:
> Alexander Van Hecke wrote:
>
> > C was ment to be used modular and for reuse : put your code in
> > separate .c and .h files.
>
> I feel you miss something. The .h files are just included texts; the
> `defines' in one can influence another so the inclusion order is
> delicate; there is no link (apart a moral one) between the .h and the
> .c and - correct me if I'm wrong - a standard C compiler won't check
> the integrity between .h and .c ... In addition, the most resources on
> the Net break your .h  <-> .c rule...

That's just about the biggest problem in my book. Using ".h" files that
way is just a convention that many C developers follow. There's no teeth
to it, and there are many other ways the include feature can be
(ab)used. For instance, I've seen several C systems where included
files have no extention (".h") on them. There are even several places in
the vxWorks kernel source code where ".c" files are #include'd. I can be
indignant that the developers would do such a thing to poor unsuspecting
readers like myself, but its perfectly legal (and running) C.

--
T.E.D.

http://www.telepath.com/~dennison/Ted/TED.html


Sent via Deja.com http://www.deja.com/
Before you buy.




  parent reply	other threads:[~2000-01-18  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         ` Mike Silva
2000-01-18  0:00           ` Charles Hixson
2000-01-17  0:00         ` Gautier
2000-01-17  0:00         ` David Starner
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         ` 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 [this message]
2000-01-17  0:00         ` David Starner
2000-01-17  0:00           ` Alexander Van Hecke
2000-01-17  0:00             ` David Starner
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-18  0:00         ` Pascal Obry
2000-01-18  0:00         ` Jeff Carter
2000-01-18  0:00           ` Keith Thompson
2000-01-19  0:00             ` Gisle S�lensminde
2000-01-19  0:00             ` Ole-Hjalmar Kristensen
2000-01-19  0:00             ` Jeff Carter
2000-01-19  0:00               ` David Starner
2000-01-19  0:00               ` Keith Thompson
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