I saw a old post and I have tried it. It does work, but I couldn't understand it well.
I use it as follow:
RandomAccessFile raf;
...
raf.write((byte)4);
...
Printable View
I saw a old post and I have tried it. It does work, but I couldn't understand it well.
I use it as follow:
RandomAccessFile raf;
...
raf.write((byte)4);
...
While Ctrl-Z (26) is the most common EOF marker in PC land (Dos/Windows) and Mani Mini computers. Ctrl-D (4) is the most common in the Unix world.
If it's for Unix, why oould I use it in Windows?
TheCPUWizard probably didn't know what Platform you were using.
That plus some programs that have a unix history or bias (e.g. some Java implementations...) still use ctrl-D. :D