C from Fortran Home Page
Home Preprocessor Code syntax & keywords standard libraries I/O Control Structures Strings variables and operators operators C resources Problem areas debugging pointers Acknowledgements


Code syntax & keywords
standard libraries
Control Structures
variables and operators
C resources
Problem areas


These are Gary Ferland's notes on C.  This is a preliminary version of a document that would have helped me during my C learning experiences.  It assumes that the reader has a fair degree of experience with Fortran.

These are based on my experiences in converting Cloudy from Fortran 77 (with MilSpec extensions) to ANSI/ISO C.  Cloudy does not do graphics, so there is no discussion of graphics here.  The code is almost entirely algorithmic.  The bigger problems were with i/o, strings, block datas, and the global namespace, all of which are quite different in C from Fortran.

The chairman of AT&T
Said, "Your graduate physics degree
Is not worth a penny,
Of your kind we've too many.
Perhaps you can program in C?"
Steve Langer, from the ASP Limerick page

This page was last updated on 03/19/02.   There have been Hit Counter visitors.