next up previous contents index
Next: Modifying LONGLIB to Up: Machine Dependence Previous: FORTRAN

C

The C language port was made with the assistance of F2C. The C code consists of a mixture of ANSII C and traditional C. It has been successfully compiled and run using VAX C, GNU C, and HP C.

The documentation given below is for the FORTRAN version of the software. For the C version:

  1. Routine names end with an underbar, e.g., the routine CALL PLOT(x,y,i) is called as plot_(&x,&y,&i).
  2. All parameters are passed by reference (address).
  3. FORTRAN CHARACTER variables are replaced with C strings.
  4. FORTRAN BYTE or INTEGER*1 variables are replaced with C char variables.
An include ``my.h'' is used to specify the type ``integer'' as an ``int''.



David Long
Wed Jun 12 10:34:11 MDT 1996