Re: year 11 maths survey



On Sun, 11 Sep 2005 13:05:47 +0100, Jon Harrop <usenet@xxxxxxxxxxxxxx>
wrote:

>Richard Heathfield wrote:
>> I would. A well-written C++ program which takes advantage of common C++
>> idioms is effectively unreadable to anyone who knows C but not C++.
>
>Yes.
>
>>> C programmers can use C++ compilers.
>>
>> Sure, if they want to write C++.
>
>Or if they want to write C. I often compile C using a C++ compiler without
>any trouble.
>
The most common way to do that is to give the source a ".c" extension,
whereupon the C++ compiler magically turns itself into a C compiler.
--
Al Balmer
Balmer Consulting
removebalmerconsultingthis@xxxxxxx
.



Relevant Pages

  • Re: the usage of void argument
    ... the compiler won't give any error if I call the function f ... copies the definition and tucks it away in a selected spot, ... Balmer Consulting ...
    (comp.lang.c)
  • Re: Questions about efficiency and profiling tools
    ... The answer depends on the implementation and platform. ... compiler worry about optimizing. ... Balmer Consulting ... have an appropriate newsgroups line in your header for your mail to be seen, ...
    (comp.lang.c.moderated)
  • Re: how to insert unique ID into binary file that created after compilation?
    ... >>how can i insert unique ID into binary file (that created by compiler)? ... >and RCS or CVS will expand it for you. ... Balmer Consulting ...
    (comp.lang.c)
  • Re: why use -> (not .) with pointers?
    ... >> distinction exists since the compiler can always figure it out. ... and there was a pointer, ... then generate a dereferencing of the pointer without ... Balmer Consulting ...
    (comp.lang.c)
  • Re: AES trickery ;-)
    ... >> using it in pseudocode seems bizarre unless you are writing a compiler ... My point though was that I've had little trouble ... This isn't helped by the fact that so many "bad C books" ... Randy Howard ...
    (sci.crypt)