Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!ll-xn!cullvax!drw From: drw@cullvax.UUCP (Dale Worley) Newsgroups: comp.lang.c Subject: Fortran vs. C strings Message-ID: <1299@cullvax.UUCP> Date: Fri, 19-Jun-87 14:25:35 EDT Article-I.D.: cullvax.1299 Posted: Fri Jun 19 14:25:35 1987 Date-Received: Mon, 22-Jun-87 03:00:44 EDT Organization: Cullinet Software, Westwood, MA, USA Lines: 18 edw@ius2.cs.cmu.edu (Eddie Wyatt) writes: > In Fortrash, Integers are actually longs (if you pass pointers to > integers instead of pointers to longs and have it still work, it is because > sizeof(int) == sizeof(long) on the machine you are working on) I'm somewhat bothered that none of you are specifying which implementations of the two languages you are discussing. When you want to interface two different language systems, you have to figure out how both of them map the language structures to machine code, and figure out the right hacks to get the information across. In any case, the particular solution will only be good for the two language implementations involved. Dale -- Dale Worley Cullinet Software ARPA: cullvax!drw@eddie.mit.edu UUCP: ...!seismo!harvard!mit-eddie!cullvax!drw If you light a match, how much mass does it convert into energy?