so does anyone have any idea how to read from a file, for example, called 'abc.txt' then write it to a file called 'def.txt'. im trying to read the prefix tree and im using bitreader/bitwriter and filewriter. thanks. just a brief explanation would do. c:
Internet Explorer's JScript (only) lets you write to the Windows local file system by means of the harmless execCommand() function. It is possible in IE in certain circumstances to use ActiveX objects to access the directory and read files. This is not recommended for a variety of reasons.
All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.
All those classes mentioned (filewrite, etc.) are indeed JAVA classes.
Easiest explanation I can think of without code:
while you read a line from input -> write a line to output.
Can be done with FileReader and FileWriter objects.