Search

August 21, 2013
Learn »
...void main () {
  A a = new A();
  a.list();
}

which outputs:
a is int

-- 
Marek Janukowicz
August 19, 2013
General »
...s inputs occurs. It them computes and outputs results on it's output channels.

We...
August 19, 2013
General »
...dg = &greater;
	        sort!(dg)(arr);

	        writeln(arr);
	        //outputs [1,2,3,4] instead of [4...
August 18, 2013
Issues »
...filter!"true");
    writeln(a.cycle.take(10));
}

Outputs

[0, 1, 2, 0, 1, 2,

then...
August 18, 2013
General »
...DEVICE functions, into usable code, and then outputs .c/.cpp files for the c compiler...
August 17, 2013
Issues »
...app;
    return app.empty;
}


pragma(msg, foo());

Outputs (tested with git HEAD 2.064):

ctfe...
August 13, 2013
General »
...that it can determine the exact inputs/outputs. This leads to nice features like, when...
August 09, 2013
Learn »
...are mangled.

With -profile the app usually outputs trace.log somewhere in the folder launched...
August 08, 2013
Learn »
...aa);
    writeln(1 in aa);
}

That program outputs different element addresses for the two 'in...
August 06, 2013
General »
...linux.

dmd itself never generates assembly, it outputs machine code directly so you'll need...
84 85 86 87 88 89 90 91 92 93 94 95
Next ›   Last »