Should I convert FORTRAN code to C?

Richard A. O'Keefe ok at quintus.uucp
Thu Jun 30 14:11:22 AEST 1988


In article <8184 at brl-smoke.ARPA> gwyn at brl.arpa (Doug Gwyn (VLD/VMB) <gwyn>) writes:
>Wrong on all those counts.  C allows casting to any defined type and
>assignment of any structure type.

Maybe I'm confused here, but I thought C only allowed casts to and from
SCALAR types.  In particular, I've never succeeded in casting to or from
unions or structs.

Doug Gwyn also claimed that operator overloading wasn't much use, because
there aren't a lot of uses for it.  If your language is APL, maybe not, but
the arithmetic operations generalise to vectors, matrices, polynomials, &c
very nicely indeed.



More information about the Comp.lang.c mailing list