Skip to content

Instantly share code, notes, and snippets.

View run-dlang's full-sized avatar

Eleanor Cross run-dlang

View GitHub Profile
@run-dlang
run-dlang / main.d
Created April 2, 2018 09:50
Code shared from run.dlang.io
import std.stdio;
void main()
{
writeln("Hello D");
}
@run-dlang
run-dlang / main.d
Created April 2, 2018 10:04
Code shared from run.dlang.io
import std.stdio;
void main()
{
writeln("Hello FooBar.");
}
@run-dlang
run-dlang / main.d
Created April 2, 2018 10:26
Code shared from run.dlang.io
import std.stdio;
void main()
{
writeln("Hello FooBar.");
}
@run-dlang
run-dlang / main.d
Created April 2, 2018 11:36
Code shared from run.dlang.io
import std.stdio;
struct B
{
int a;
int* t;
this(int a) immutable
{
this.a = 7;
@run-dlang
run-dlang / main.d
Created April 2, 2018 12:00
Code shared from run.dlang.io
import std.stdio;
struct B
{
int a;
int* t;
this(int a) immutable
{
this.a = 7;
@run-dlang
run-dlang / main.d
Created April 2, 2018 21:19
Code shared from run.dlang.io
import std.stdio;
struct B
{
int a;
int* t;
this(int a) immutable
{
this.a = 7;
@run-dlang
run-dlang / main.d
Created April 2, 2018 21:20
Code shared from run.dlang.io
int[] sneaky;
struct A
{
private int[] innocent;
~this()
{
sneaky = innocent;
}
}
void main()
@run-dlang
run-dlang / main.d
Created April 2, 2018 21:27
Code shared from run.dlang.io
import std.stdio;
void main()
{
writeln("Hello D2222");
}
@run-dlang
run-dlang / main.d
Created April 2, 2018 21:27
Code shared from run.dlang.io
import std.stdio;
void main()
{
writeln("Hello D2222");
}
@run-dlang
run-dlang / main.d
Created April 2, 2018 21:29
Code shared from run.dlang.io
import std.stdio;
void main()
{
writeln("Hello D2222");
}