Need Help: C driver for Pascal & Fortran

Cynthia G. Anderson cynthia at cod.NOSC.MIL
Sat Sep 17 07:42:27 AEST 1988


hello
i need some help and hope someone out there can point me in the
right direction, or to the right books/articles/etc.

i'm writing a driver program in C.  (why? cuz C's flexible)  The program
has to be able to call sub-programs that are in other languages, namely
Pascal and Fortran; run these sub-units (actually they're simulation
models) and pass the appropriate outputs to the next thing that needs 
those outputs as it's inputs.

so, the first part of the problem is that i need to know HOW to 
write the interface such that i can have non-C sub-units.  And two
how to pass information so that it is "digestable" to the sub-unit
needing it.

the next part of the problem is that part of the whole program will
reside on a Mac II and the other part (sub-unit:Fortran) will run and
reside on a VAX and only pass data back to the Mac, when told to 
execute.

so if any one, has ANY ideas on how to go about doing this or where
i should look for more information on dealing with these kinds of
problems--I WOULD BE EXTREMELY GRATEFUL GRATEFUL GRATEFUL!!!

(hey, what can i say...it's a fun project, i just have some holes
in my knowledge...)

Thanks in Advance,
please MAIL replies to cynthia at cod.nosc.mil      
i will summarize to the net if enuff interest is indicated.

cynthia anderson

Disclaimer:  "In this case, my company agrees with me."



More information about the Comp.std.c mailing list