Write entire file: Difference between revisions
Content added Content deleted
(Added C++) |
|||
Line 114: | Line 114: | ||
:if-does-not-exist :create) |
:if-does-not-exist :create) |
||
(format str "File content...~%"))</lang> |
(format str "File content...~%"))</lang> |
||
=={{header|Elena}}== |
|||
ELENA 3.2 : |
|||
<lang elena>import system'io. |
|||
program = |
|||
[ |
|||
File new("filename.txt"); saveContent("This file contains a string."). |
|||
].</lang> |
|||
=={{header|Elixir}}== |
=={{header|Elixir}}== |