Search

January 02, 2008
General »
...worthwhile, some framework for specifying when these outputs can be used as exclusive access (AKA...
January 02, 2008
General »
...p, *p2); // outputs 55

int y = 6;
p = &y;

writefln(*p, *p2); // outputs 65

Assigning...
December 13, 2007
Issues »
...assert(aa["cc"]==3);
        writefln(aa["aa"],aa["bb"],aa["cc"]); // On GDC outputs: 123
}


-- 
December 05, 2007
General »
...a ~= "c";
 writefln("ab = ",ab); // outputs "ab"
 writefln("a  = ",a);  // outputs "ac"

So it seems...
December 05, 2007
General »
...1];
> a ~= "c";
> writefln("ab = ",ab); // also outputs "ac"

True for 'a' but when appending...
December 04, 2007
General »
Outputs "ac"

So this appears to be a bug then.  Because from the spec:

"Concatenation...
November 27, 2007
General »
...constID!(const(char)*));
        writefln(constID!(invariant(char)*));
}


outputs:
0
1
2
0
1
2

-Steve

November 07, 2007
General »
...typeof(this).stringof);
to the constructor it outputs "A".  Lets assume this is a bug...
November 07, 2007
General »
...dmd, just copy the link line it outputs to gcc and add the -static argument...
November 06, 2007
Learn »
...pragma(msg, C_PCHAR2.stringof);
}

compiling this outputs:
const char*
char*
const char*

Note that...
152 153 154 155 156 157 158 159 160 161 162
Next ›   Last »