mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-01-15 00:48:18 -05:00
11 lines
147 B
C++
11 lines
147 B
C++
extern "C" void myfunc(int a, double b, double c[]);
|
|
|
|
int main()
|
|
{
|
|
double c[20];
|
|
|
|
for (int i=0; i<20; i++)
|
|
c[i] = double(i);
|
|
|
|
myfunc(1, 42.0, c);
|
|
} |