I have a java program that uses the writeDouble() method of RandomAccessFile class and writes a double number to an o/p file. Now, I want to access that file from C side and retrieve the double number. How do I do it? (fscanf,fread etc donot seem to work).
This is the Java code
public static void main(String args)
File gen=new File("\\gen");
RandomAccessFile filehandle=new RandomAccessFile(gen,"rw");
Now, how do I retrieve the value 102.123 that has been written to the o/p file named gen from C side?