Search

November 05, 2007
Learn »
...tmp1: %s, tmp2: %s", tmp1, tmp2);

This outputs "tmp1: 0!0, tmp2: 0!0".  If...
October 25, 2007
General »
...void main()
{
    Test!("top", "$tip", "tap")();
}

Now outputs:
$tip


But shouldn't foo and literal...
October 18, 2007
Learn »
This compiles, runs, and outputs "hola" as expected:

---
class X {
	import std.stdio;
	void foo...
October 14, 2007
General »
...There is also an Ada compiler that outputs C. In both of these cases the...
October 07, 2007
General »
...this fails
writefln(string.toString(number)); //this outputs: "nan"
writefln( to!(char[])(to!(long)(number...
October 01, 2007
GDC »
...ReportedBy: mariusmuja@gmail.com


The following program outputs 0 instead of the correct value (95...
October 01, 2007
General »
...Test;
  a.addOne();
  Test b = new Test;

  // outputs 22222
  foreach(int x; b.z)
  {
    Stdout...
September 27, 2007
Learn »
...is not to put newlines between the outputs, but to keep overwriting the last line...
September 25, 2007
General »
...I have a little question.
This program outputs gggg on dmd 1.21. Yes, I...
September 21, 2007
General »
...auto tl2 = s.tupleof;
	writefln(tl2);
	// this outputs '00'. would be nicer if it did...
153 154 155 156 157 158 159 160 161 162 163
Next ›   Last »