Menu
Home
Create new Paste
Log in
Code
Theme: cobalt
Theme: eclipse
Theme: elegant
Theme: monokai
Theme: neat
Theme: night
Theme: rubyblue
import std.stdio, std.algorithm, std.array, std.string; extern (C) void init(int argc, char** argv) { printf("%s", argv[0]); } void main(string[] args) { init(cast(int)args.length, cast(char**)map!(toStringz)(args).array.ptr); }
Result:
Success
/
Return code: 0
/
Compilation time:
0.323
seconds
/
Run time:
0.001
seconds
Disassembly
Application output:
/home/c192/c798
Username
Message
Add comment
Paste info
Author:
robik
Views:
87
Private:
no
Expires:
Never
Uploaded:
29.10.12 17:27
Votes
:
0
Tweet
Compilation
Compiler:
DMD 2.060
Pointer size:
m64
Actions
Download
Fork
Raw
×
Confirm
Are you sure you want to delete this paste?
There's no way back!
×
Confirm
Reason