History of Idiom 190 > diff from v8 to v9
Edit summary for version 9 by abdec:
[C] Secure Coding: Instead of hard coding the count, it should be calculated to avoid later mistakes with changed a[]!
[C] Secure Coding: Instead of hard coding the count, it should be calculated to avoid later mistakes with changed a[]!
↷
Version 8
2020-12-11, 05:26:57
Version 9
2021-08-16, 06:00:00
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.
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.
Comments bubble