Anonymous user
File input/output: Difference between revisions
Changed to follow task description
No edit summary |
(Changed to follow task description) |
||
Line 797:
=={{header|Erlang}}==
<lang erlang
-module( file_io ).
-export( [task/0] ).
task() ->
{ok, Contents} = file:read_file( "input.txt" ),
ok = file:write_file( "output.txt", Contents ).
</lang>
=={{header|F Sharp|F#}}==
|