Skip to main content


Figure 4 | Source Code for Biology and Medicine

Figure 4

From: Automatic Fortran to C++ conversion with FABLE

Figure 4

Example illustrating the design of the FEM I/O emulation. (a) Fortran code. (b) C++ code. Each Fortran statement is converted to a C++ building block. The size of the C++ code is relatively large due to the err labels. Most write statements in real code do not make use of err labels, in which case the corresponding C++ code is nearly identical to the original Fortran code.

Back to article page