Login
|
Signup
langref.org
-
clojure
and
csharp
add..
all
cpp
erlang
fantom
fsharp
go
groovy
haskell
java
ocaml
perl
php
python
ruby
scala
Home
All
Solved
Unsolved
Strings
Numbers
Regex
Lists
Maps
Structure
Files
Dates
OOP
Networking
XML
Algorithms
Misc
Parallel
View Problem
Files
Writing
Append to a file
clojure
(with-out-append-writer "output.txt" (println "This is appended to the file"))
(use '[clojure.contrib.duck-streams :only (with-out-append-writer)])
(with-out-append-writer "output.txt" (println "This is appended to the file"))
csharp
.Net 2.0 or later
System.IO.File.AppendAllText("filename.txt", "Some text to append to the file");
System.IO.File.AppendAllText("filename.txt", "Some text to append to the file");
Submit a new solution for
clojure
or
csharp
There are 15 other solutions in
additional
languages (
cpp
,
erlang
,
fantom
,
fsharp
...)