Logo

Programming-Idioms

History of Idiom 190 > diff from v1 to v2

Edit summary for version 2 by tkoenig:
Additional requirement for only using standard features.

Version 1

2019-09-27, 12:57:04

Version 2

2019-09-27, 13:20:42

Idiom #190 Call an external C function

Declare an external C function with the prototype

void foo(double *a, int n);

and call it, passing an array (or a list) of size 10 to a and 10 to n.

Idiom #190 Call an external C function

Declare an external C function with the prototype

void foo(double *a, int n);

and call it, passing an array (or a list) of size 10 to a and 10 to n.

Use only standard features of your language.

Extra Keywords
C interoperability
Extra Keywords
C interoperability