Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rochester!pt!ius2.cs.cmu.edu!edw From: edw@ius2.cs.cmu.edu (Eddie Wyatt) Newsgroups: comp.lang.c Subject: Re: Fortran vs. C strings Message-ID: <1210@ius2.cs.cmu.edu> Date: Fri, 19-Jun-87 17:28:30 EDT Article-I.D.: ius2.1210 Posted: Fri Jun 19 17:28:30 1987 Date-Received: Tue, 23-Jun-87 01:14:15 EDT References: <1299@cullvax.UUCP> Organization: Carnegie-Mellon University, CS/RI Lines: 30 In article <1299@cullvax.UUCP>, drw@cullvax.UUCP (Dale Worley) writes: > 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? F77 on Berkley Unix OS. Its been a while since I've played with stuff like that. Some vendor's language manual with have the details of implementation. -- Eddie Wyatt e-mail: edw@ius2.cs.cmu.edu terrorist, cryptography, DES, drugs, cipher, secret, decode, NSA, CIA, NRO.