[TIB] Re: ti-basic Digest V2 #107


[Prev][Next][Index][Thread]

[TIB] Re: ti-basic Digest V2 #107





On Fri, 8 Nov 2002, Gary Sparkes <kb3hag@comcast.net> wrote:
>
> c++ compilers ALWAYS work for c, c++ is backwards compatable and such
>
> Nitrocloud@aol.com wrote:
> >
> > C++ always contains C.
> >

Even though this thread is now way off-topic, I must point out that
C and C++ are not really compatible in either direction; there is quite
a lot of C code that is not at all compatible with modern C++, and at
least in theory a C++ compiler COULD refuse to compile programs that
use <stdio.h>, do not cast the result of malloc(), contain pathological
comment constructs, or any number of other things!
  Usually it's a safe bet that your C++ compiler has C support, but
it's not a given.  I suggest reading comp.lang.learn.c-c++ for more
(on-topic) information.

-Arthur




Follow-Ups: