Skip to content

Commit e54a635

Browse files
committed
doc
1 parent 01f42f6 commit e54a635

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,16 @@ export CXXFLAGS=-I$CPLUS_INCLUDE_PATH
5050
export CFLAGS=$CXXFLAGS
5151
```
5252

53-
## Error handling in Fortran with C/C++ main program
53+
## Examples
54+
55+
While the examples prioritize C++, there are also several companion C examples to go with the C++ examples.
56+
There are also some Fortran main programs calling C or C++.
57+
58+
### arrays
59+
60+
The examples "array", "malloc", "vector" show distinct ways to send arrays to/from Fortran with C and C++.
61+
62+
### Error handling
5463

5564
Using Fortran statement "stop" or "error stop" with a C/C++ main program works like with a Fortran main program.
5665
The "error" examples show this.

0 commit comments

Comments
 (0)