Access Existing C source file Using Java JNI
<p>I have four C file. Two of them are header file.</p>

<pre><code>1.Const.h contains
extern float Hx_g0;


2.Const.c contains
float Hx_g0=-2.89356745;


3.Calculation.h contains
void calculation();


4.Calculation.c contains
#include"calculation.h"
#include "stdio.h"
void calculation(){
printf("Calculation done");
}
</code></pre>

<p>Now how can i use method calculation() of the Calculation.c using JNI. In the net i found HelloWorld example.</p>
