Hello,
Here is my problem, I am trying to use Randomaccessfile using the char array.
Code:
Public class RevisionsRAF
{
Public static void hand (String [] args) throws IOException
{
long tlrc = 12;
int nb = 4;
String dir, category;
double prices, rates, prixTTC, tax;
RandomAccessFile ram = new RandomAccessFile("c:\\work\\fichiersTaxes.dat ","rw");
ram.writeChar("LI"); ram.writeDouble(1.45);
ram.writeChar("DI"); ram.writeDouble(1.60);
ram.writeChar("CD"); ram.writeDouble(1.75);
ram.writeChar("DV"); ram.writeDouble(1.85);
I have the problem with the "LI" and "DL". If you have any solution for this please reply back. Thanks in advance.
Bookmarks