fork download
  1. import std.stdio, std.random, std.conv, std.exception;
  2.  
  3. void main(string[] args) {
  4. enforce(args.length == 2, "Please specify how many numbers");
  5. auto f = File("vec_gen.out", "w");
  6. foreach (_; 0 .. args[1].to!int)
  7. f.writeln(uniform!"[]"(0, int.max));
  8. }
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty