Sign in
DMD
LDC
//Writing a File
import std.stdio; 
import std.file;
 
void main() { 
   File file = File("test.txt", "w"); 
   file.writeln("hello");
   file.close(); 
}