Mail Archives: djgpp/1993/06/05/21:02:49
On Fri, 4 Jun 1993, Xiaojun Zhu wrote:
> What's the advantage of not allowing me to use test.c instead of test.cc?
If file.c was allowed to be a C or C++ file, the compiler would have no
way to decide which language to compile. (They are _very_ different) By
requiring a different name and a couple of compiler switches, the compiler
doesn't have to drag in all the C++ overhead for a simple C program.
[ Right DJ? ]
/* Andrew */
"As far as the laws of mathematics refer to reality, they are not certain;
and as far as they are certain, they do not refer to reality"
Albert Einstein
- Raw text -