home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / cplus / 16119 < prev    next >
Encoding:
Text File  |  1992-11-11  |  1.2 KB  |  29 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!sun-barr!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!fstop.csc.ti.com!fstop.csc!adam
  3. From: adam@dadhb1.ti.com (Adam Hudd)
  4. Subject: Re: FortranTOc
  5. In-Reply-To: mazzucch@ghost.dsi.unimi.it's message of Wed, 11 Nov 1992 17:35:08 GMT
  6. Message-ID: <ADAM.92Nov11144234@node_48dc0.dadhb1.ti.com>
  7. Lines: 15
  8. Sender: usenet@csc.ti.com
  9. Nntp-Posting-Host: 192.48.249.30
  10. Organization: Texas Instruments, Inc., Houston, TX
  11. References: <1992Nov11.173508.3370@ghost.dsi.unimi.it>
  12. Date: Wed, 11 Nov 1992 20:42:34 GMT
  13.  
  14. Max, there's a FORTRAN77 to C/ANSI C/C++ translator around somewhere called
  15. "f2c", just use archie to find it.
  16.  
  17. It uses a combination of structure statements and #defines to rework the COMMON
  18. blocks, thus making the code very hard to read.  Also the format statements are
  19. not reworked into printf() statements, but instead use the standard f77
  20. libraries.
  21.  
  22. It does its job well, but you'll have to rework the code if you want it to be
  23. pure C.
  24. --
  25. Cheers,
  26. Adam Hudd               adam@dadhb1.ti.com             __o
  27. Texas Instruments Inc,                                -\<,
  28. Houston, TX                                     .....O / O
  29.