- or download this
public static double Str2Double(String i) {
if ( i.indexOf(".") >= 0 ) { int p = i.indexOf(".") ; i = i.substr
+ing(0,p) ;}
...
return o ;
}
- or download this
import java.io.RandomAccessFile ;
...
buffer = new String(b,0,n) ;
}
}
- or download this
open(my $io,"/tmp/file") ;
read($io, my $buffer , 1024) ;