Subj : Re: year 11 maths survey To : comp.programming From : Alan Balmer Date : Mon Sep 12 2005 11:30 am On Sun, 11 Sep 2005 13:05:47 +0100, Jon Harrop 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@att.net .